add support for autojump installed via macports

This commit is contained in:
Christoph Neuroth 2011-12-14 11:47:24 +01:00 committed by Praful Mathur
commit 4c4eb6a012

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