Browse code

add support for autojump installed via macports

Christoph Neuroth authored on 14/12/2011 at 10:47:24
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