Browse Source

add support for autojump installed via macports

Christoph Neuroth 13 years ago
parent
commit
3e7e52a25f
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