Merge pull request #743 from c089/autojump-macports

add support for autojump installed via macports
This commit is contained in:
Robby Russell 2011-12-14 22:04:11 -08:00
commit 047fcdc2cb

View File

@ -1,3 +1,5 @@
if [ -f `brew --prefix`/etc/autojump ]; then if [ -f /opt/local/etc/profile.d/autojump.sh ]; then
. /opt/local/etc/profile.d/autojump.sh
elif [ -f `brew --prefix`/etc/autojump ]; then
. `brew --prefix`/etc/autojump . `brew --prefix`/etc/autojump
fi fi