diff --git a/bin/autojump.zsh b/bin/autojump.zsh index e4801e4..f1abd3f 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 && [[ -d "$(brew --prefix)/share/zsh/site-functions" ]]; then fpath=("$(brew --prefix)/share/zsh/site-functions" ${fpath}) fi