]> arthur.barton.de Git - ax-zsh.git/blob - plugins/autojump/autojump.zshrc
Enhance handling of the Homebrew environment
[ax-zsh.git] / plugins / autojump / autojump.zshrc
1 # AX-ZSH: Alex' Modular ZSH Configuration
2 # autojump.zshrc: Initialize "autojump"
3
4 for script (
5         "$HOMEBREW_PREFIX/etc/profile.d/autojump.sh"
6         "/usr/local/etc/profile.d/autojump.sh"
7         "/usr/share/autojump/autojump.zsh"
8 ); do
9         if [[ -r "$script" ]]; then
10                 source "$script"
11                 unset script
12                 return 0
13         fi
14 done
15 unset script
16 return 1