Only init fasd if it is installed.

This commit is contained in:
Kyle West 2012-03-22 16:15:42 -04:00
parent f2529aca6e
commit 1aa9e5b875

View File

@ -1,3 +1,5 @@
# only init if installed.
if [[ -d $HOME/.fasd ]]; then
# Initialize fasd (https://github.com/clvv/fasd)
eval "$(fasd --init posix-alias zsh-hook)"
@ -10,4 +12,5 @@ alias d='fasd -d' # directory
alias f='fasd -f' # file
alias z='fasd_cd -d' # cd, same functionality as j in autojump
alias v='f -e vim' # quick opening files with vim
fi