This commit is contained in:
Nicolas Canceill 2014-07-08 14:37:49 +00:00
commit 1ff7573047
2 changed files with 7 additions and 2 deletions

4
cache/.easter-egg vendored Normal file
View file

@ -0,0 +1,4 @@
This file is only here so that Git will keep a cache directory as .gitignore is ignoring all the files within it.
Feel free to add love notes for people here.

View file

@ -1,10 +1,11 @@
# reload zshrc
function src()
{
local cache="$ZSH/cache"
autoload -U compinit zrecompile
compinit -d "$ZSH/cache/zcomp-$HOST"
compinit -d "$cache/zcomp-$HOST"
for f in ~/.zshrc "$ZSH/cache/zcomp-$HOST"; do
for f in ~/.zshrc "$cache/zcomp-$HOST"; do
zrecompile -p $f && command rm -f $f.zwc.old
done