develop#zsh: compinit needs -u to trust /nix/store
This commit is contained in:
parent
39c80acdd1
commit
b94a880a69
|
@ -48,7 +48,7 @@ typeset -i updated_at=$(date +'%j' -r ~/.zcompdump \
|
||||||
|
|
||||||
# save time if completion cache has been update recently
|
# save time if completion cache has been update recently
|
||||||
if [ $(date +'%j') != $updated_at ]; then
|
if [ $(date +'%j') != $updated_at ]; then
|
||||||
compinit
|
compinit -u
|
||||||
else
|
else
|
||||||
compinit -C
|
compinit -C
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue