1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-01 08:09:25 +00:00

Merge upstream/master

This commit is contained in:
2023-01-21 19:48:05 +01:00
2 changed files with 5 additions and 2 deletions

View File

@ -10,7 +10,10 @@
# Compile the completion dump to increase startup speed.
zcompdump="${XDG_CACHE_HOME:-$HOME/.cache}/prezto/zcompdump"
if [[ -s "$zcompdump" && (! -s "${zcompdump}.zwc" || "$zcompdump" -nt "${zcompdump}.zwc") ]]; then
zcompile "$zcompdump"
if command mkdir "${zcompdump}.zwc.lock" 2>/dev/null; then
zcompile "$zcompdump"
command rmdir "${zcompdump}.zwc.lock" 2>/dev/null
fi
fi
} &!