3e7e52a25fbfdb57f291ee9575a606f845dbff57
- Author
- Christoph Neuroth <cnr@lusini.com>
- Committer
- Christoph Neuroth <cnr@lusini.com>
- Date
Message
add support for autojump installed via macports
Diff
1diff --git a/plugins/autojump/autojump.plugin.zsh b/plugins/autojump/autojump.plugin.zsh
2index da0a1276572dc655cc82eedc762e2996dac8b0b6..6f9b80bffa077a9928ba2a2b7647b96c7588a3f1 100644
3--- a/plugins/autojump/autojump.plugin.zsh
4+++ b/plugins/autojump/autojump.plugin.zsh
5@@ -1,3 +1,5 @@
6-if [ -f `brew --prefix`/etc/autojump ]; then
7+if [ -f /opt/local/etc/profile.d/autojump.sh ]; then
8+ . /opt/local/etc/profile.d/autojump.sh
9+elif [ -f `brew --prefix`/etc/autojump ]; then
10 . `brew --prefix`/etc/autojump
11 fi