2016-10-26 18:04:14 +00:00
|
|
|
src() {
|
|
|
|
local cache="$ZSH_CACHE_DIR"
|
|
|
|
autoload -U compinit zrecompile
|
|
|
|
compinit -d "$cache/zcomp-$HOST"
|
2014-03-25 21:16:36 +00:00
|
|
|
|
2016-10-26 18:04:14 +00:00
|
|
|
for f in ~/.zshrc "$cache/zcomp-$HOST"; do
|
|
|
|
zrecompile -p $f && command rm -f $f.zwc.old
|
|
|
|
done
|
2014-03-25 21:16:36 +00:00
|
|
|
|
2016-10-26 18:04:14 +00:00
|
|
|
source ~/.zshrc
|
2014-03-25 21:16:36 +00:00
|
|
|
}
|