From 270a82dbed30eb256736b11c0af54aa7d175f56a Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 13 Sep 2013 13:05:06 +0100 Subject: Make installer create .zsh and .zsh/cache, if necessary --- install | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install b/install index 40c134f8..16d30c58 100755 --- a/install +++ b/install @@ -47,6 +47,11 @@ then emacs --batch --eval '(batch-byte-recompile-directory 0)' ~/.emacs.d/ fi +if [[ ! -d ~/.zsh/cache ]] +then + mkdir -p ~/.zsh/cache +fi + fasd_cache=~/.zsh/cache/fasd-init-zsh if [[ ! -s "$fasd_cache" || dotfiles/zsh/functions/fasd -nt "$fasd_cache" ]]; then dotfiles/zsh/functions/fasd/fasd --init posix-alias zsh-hook zsh-ccomp zsh-ccomp-install zsh-wcomp zsh-wcomp-install >! "$fasd_cache" -- cgit 1.4.1