diff options
-rwxr-xr-x | install | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/install b/install index 8d6ae18..0fa5859 100755 --- a/install +++ b/install @@ -48,28 +48,28 @@ then fi fasd_cache=~/.zsh/cache/fasd-init-zsh -if [[ ! -s "$fasd_cache" || zsh/functions/fasd -nt "$fasd_cache" ]]; then - zsh/functions/fasd/fasd --init posix-alias zsh-hook zsh-ccomp zsh-ccomp-install zsh-wcomp zsh-wcomp-install >! "$fasd_cache" +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" fi autoload -U zrecompile local -a zfiles zfiles=( - zsh/functions/fasd/fasd + dotfiles/zsh/functions/fasd/fasd $fasd_cache - zsh/zshrc - zsh/zshrc_${HOST%%.*} + dotfiles/zsh/zshrc + dotfiles/zsh/zshrc_${HOST%%.*} ) if [[ -e /usr/bin/emerge ]]; then - zfiles+=zsh/zshrc_gentoo + zfiles+=dotfiles/zsh/zshrc_gentoo fi if [[ $OSTYPE == freebsd* ]]; then - zfiles+=zsh/zshrc_freebsd + zfiles+=dotfiles/zsh/zshrc_freebsd fi zrecompile -p -R ~/.zshrc.zwc $zfiles -for fp in zsh/functions/*(/); do +for fp in dotfiles/zsh/functions/*(/); do zrecompile -p $fp $fp/* done |