Browse Source

Merge pull request #743 from c089/autojump-macports

add support for autojump installed via macports
Robby Russell 13 years ago
parent
commit
047fcdc2cb
1 changed files with 3 additions and 1 deletions
  1. 3 1
      plugins/autojump/autojump.plugin.zsh

+ 3 - 1
plugins/autojump/autojump.plugin.zsh

@@ -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