mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-04 15:49:25 +00:00
Simplify the use of ZDOTDIR
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
# Execute code that does not affect the current session in the background.
|
||||
{
|
||||
# Compile the completion dump to increase startup speed.
|
||||
zcompdump="${ZDOTDIR:-$HOME}/.zcompdump"
|
||||
zcompdump="$ZDOTDIR/.zcompdump"
|
||||
if [[ -s "$zcompdump" && (! -s "${zcompdump}.zwc" || "$zcompdump" -nt "${zcompdump}.zwc") ]]; then
|
||||
zcompile "$zcompdump"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user