Fix bug with macports autojump on OSX.
This commit is contained in:
parent
1322ff04a7
commit
1ef3bff462
@ -13,7 +13,7 @@ if [ $commands[autojump] ]; then # check if autojump is installed
|
|||||||
. /etc/profile.d/autojump.sh
|
. /etc/profile.d/autojump.sh
|
||||||
elif [ -f /usr/local/share/autojump/autojump.zsh ]; then # freebsd installation
|
elif [ -f /usr/local/share/autojump/autojump.zsh ]; then # freebsd installation
|
||||||
. /usr/local/share/autojump/autojump.zsh
|
. /usr/local/share/autojump/autojump.zsh
|
||||||
elif [ -f /opt/local/etc/profile.d/autojump.zsh ]; then # mac os x with ports
|
elif [ -f /opt/local/etc/profile.d/autojump.sh ]; then # mac os x with ports
|
||||||
. /opt/local/etc/profile.d/autojump.sh
|
. /opt/local/etc/profile.d/autojump.sh
|
||||||
elif [ $commands[brew] -a -f `brew --prefix`/etc/autojump.sh ]; then # mac os x with brew
|
elif [ $commands[brew] -a -f `brew --prefix`/etc/autojump.sh ]; then # mac os x with brew
|
||||||
. `brew --prefix`/etc/autojump.sh
|
. `brew --prefix`/etc/autojump.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user