Commit 7478b754 authored by ncanceill's avatar ncanceill
Browse files

make sure cache dir exists, just like log dir

parent 5756ea01
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.
# 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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment