Commit b4c06f2b authored by Marc Cornellà's avatar Marc Cornellà
Browse files

Complain when no autojump script was found

parent fd105b6e
......@@ -28,7 +28,12 @@ done
# if no path found, try Homebrew
if (( ! found && $+commands[brew] )); then
file=$(brew --prefix)/etc/profile.d/autojump.sh
[[ -f "$file" ]] && source "$file"
if [[ -f "$file" ]]; then
source "$file"
found=1
fi
fi
(( ! found )) && echo '[oh-my-zsh] autojump script not found'
unset autojump_paths file found
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment