Browse code

Merge pull request #743 from c089/autojump-macports

add support for autojump installed via macports

Robby Russell authored on 15/12/2011 at 06:04:11
Showing 1 changed files
... ...
@@ -1,3 +1,5 @@
1
-if [ -f `brew --prefix`/etc/autojump ]; then
1
+if [ -f /opt/local/etc/profile.d/autojump.sh ]; then
2
+  . /opt/local/etc/profile.d/autojump.sh
3
+elif [ -f `brew --prefix`/etc/autojump ]; then
2 4
   . `brew --prefix`/etc/autojump
3 5
 fi