all repos — nixfiles @ 64aad8e0919a1519e8f5bb78d714cb4aa55f736f

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

zsh: Don’t run fasd if not installed

Alan Pearce
commit

64aad8e0919a1519e8f5bb78d714cb4aa55f736f

parent

b97e9583c07f4f247ab896540ad63157e1f6504d

1 file changed, 3 insertions(+), 3 deletions(-)

jump to
M tag-zsh/config/zsh/zshrctag-zsh/config/zsh/zshrc
@@ -355,12 +355,12 @@ fi
fi } -_FASD_DATA="$HOME/.cache/zsh/fasd-data" -if [[ -e ~/.config/zsh/fasd.zsh ]] +if [[ -n $commands[fasd] && -e ~/.config/zsh/fasd.zsh ]] then + _FASD_DATA="$HOME/.cache/zsh/fasd-data" source ~/.config/zsh/fasd.zsh else - echo "fasd init file is missing." + echo "fasd not enabled." fi case $os in