diff --git a/bin/autojump.zsh b/bin/autojump.zsh index e4801e4..3ab6758 100644 --- a/bin/autojump.zsh +++ b/bin/autojump.zsh @@ -8,7 +8,7 @@ fi # set homebrew installation paths -if command -v brew && [[ -d "$(brew --prefix)/share/zsh/site-functions" ]]; then +if command -v brew > /dev/null 2>&1 && [[ -d "$(brew --prefix)/share/zsh/site-functions" ]]; then fpath=("$(brew --prefix)/share/zsh/site-functions" ${fpath}) fi