1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2026-04-25 07:43:30 +02:00

zsh_reload: respect $ZDOTDIR when searching for .zshrc (#7706)

This commit is contained in:
Alexander Schlarb
2020-02-28 20:01:35 +00:00
committed by GitHub
parent befdb4649b
commit 1689e9bb90
+1 -1
View File
@@ -3,7 +3,7 @@ src() {
autoload -U compinit zrecompile
compinit -i -d "$cache/zcomp-$HOST"
for f in ~/.zshrc "$cache/zcomp-$HOST"; do
for f in ${ZDOTDIR:-~}/.zshrc "$cache/zcomp-$HOST"; do
zrecompile -p $f && command rm -f $f.zwc.old
done