zsh: use .cache/zsh instead of .zsh/cache
Alan Pearce alan@alanpearce.co.uk
Sat, 12 Apr 2014 18:18:00 +0100
1 files changed, 4 insertions(+), 4 deletions(-)
jump to
M hooks/post-up/zsh → hooks/post-up/zsh
@@ -1,12 +1,12 @@ #!/usr/bin/env zsh ZDOTDIR="${XDG_CONFIG_HOME:~/.config}/zsh" -if [[ ! -d ~/.zsh/cache ]] +if [[ ! -d ~/.cache/zsh ]] then - mkdir -p ~/.zsh/cache + mkdir -p ~/.cache/zsh fi -fasd_cache=~/.zsh/cache/fasd-init-zsh +fasd_cache=~/.cache/zsh/fasd-init-zsh if [[ ! -s "$fasd_cache" || $ZDOTDIR/functions/fasd/fasd -nt "$fasd_cache" ]]; then $ZDOTDIR/functions/fasd/fasd --init posix-alias zsh-hook zsh-ccomp zsh-ccomp-install zsh-wcomp zsh-wcomp-install >! "$fasd_cache" fi @@ -27,7 +27,7 @@ zfiles+=$ZDOTDIR/freebsd.zsh fi zrecompile -p -R $ZDOTDIR/.zshrc.zwc $zfiles -- \ - -M .zsh/cache/compdump + -M .cache/zsh/compdump for fp in $ZDOTDIR/functions/*(/); do zrecompile -p $fp $fp/*