This commit is contained in:
soredake 2017-06-08 08:35:22 +00:00 committed by GitHub
commit d101c6902f

View file

@ -5,9 +5,9 @@ function src()
autoload -U compinit zrecompile
compinit -d "$cache/zcomp-$HOST"
for f in ~/.zshrc "$cache/zcomp-$HOST"; do
for f in "${ZDOTDIR:-$HOME}/.zshrc" "$cache/zcomp-$HOST"; do
zrecompile -p $f && command rm -f $f.zwc.old
done
source ~/.zshrc
source "${ZDOTDIR:-$HOME}/.zshrc"
}