all repos — nixfiles @ 270a82dbed30eb256736b11c0af54aa7d175f56a

System and user configuration, managed by nix and home-manager

Make installer create .zsh and .zsh/cache, if necessary

Alan Pearce
commit

270a82dbed30eb256736b11c0af54aa7d175f56a

parent

2fd1b9f3cb75a1eaa135bf803c78eb530e024980

1 file changed, 5 insertions(+), 0 deletions(-)

jump to
M installinstall
@@ -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"