mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-08 04:34:00 +02:00
Merge 3026022e07 into 1c958e02a5
This commit is contained in:
commit
d101c6902f
1 changed files with 2 additions and 2 deletions
|
|
@ -5,9 +5,9 @@ function src()
|
||||||
autoload -U compinit zrecompile
|
autoload -U compinit zrecompile
|
||||||
compinit -d "$cache/zcomp-$HOST"
|
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
|
zrecompile -p $f && command rm -f $f.zwc.old
|
||||||
done
|
done
|
||||||
|
|
||||||
source ~/.zshrc
|
source "${ZDOTDIR:-$HOME}/.zshrc"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue