add support for autojump installed via macports

This commit is contained in:
Christoph Neuroth 2011-12-14 11:47:24 +01:00
parent 7c36ef7faa
commit 3e7e52a25f

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