diff options
-rwxr-xr-x | tag-zsh/config/zsh/zshrc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index 2681962..067c517 100755 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -356,7 +356,12 @@ ec () { _FASD_DATA="$HOME/.cache/zsh/fasd-data" autoload -U fasd -source ~/.cache/zsh/fasd-init-zsh +if [[ -e ~/.cache/zsh/fasd-init-zsh ]] +then + source ~/.cache/zsh/fasd-init-zsh +else + echo "fasd init file is missing." +fi if [[ $OSTYPE == freebsd* ]]; then source $ZDOTDIR/freebsd.zsh |