Skip to content

Commit

Permalink
Merge pull request ohmyzsh#743 from c089/autojump-macports
Browse files Browse the repository at this point in the history
add support for autojump installed via macports
  • Loading branch information
robbyrussell committed Dec 15, 2011
2 parents 220eccf + 3e7e52a commit 047fcdc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/autojump/autojump.plugin.zsh
Original file line number Diff line number Diff line change
@@ -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
fi

0 comments on commit 047fcdc

Please sign in to comment.