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
1 changed files with 3 additions and 1 deletions

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