diff options
author | Christoph Neuroth <cnr@lusini.com> | 2011-12-14 11:47:24 +0100 |
---|---|---|
committer | Christoph Neuroth <cnr@lusini.com> | 2011-12-14 11:47:24 +0100 |
commit | 3e7e52a25fbfdb57f291ee9575a606f845dbff57 (patch) | |
tree | 11133e3ec346061be1e927f5c0ca5fa9cae8cffa /plugins/autojump | |
parent | 7c36ef7faa65441f8eec27589f24ba9f18f8d66c (diff) | |
download | zsh-3e7e52a25fbfdb57f291ee9575a606f845dbff57.tar.gz zsh-3e7e52a25fbfdb57f291ee9575a606f845dbff57.tar.bz2 zsh-3e7e52a25fbfdb57f291ee9575a606f845dbff57.zip |
add support for autojump installed via macports
Diffstat (limited to 'plugins/autojump')
-rw-r--r-- | plugins/autojump/autojump.plugin.zsh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/autojump/autojump.plugin.zsh b/plugins/autojump/autojump.plugin.zsh index da0a12765..6f9b80bff 100644 --- a/plugins/autojump/autojump.plugin.zsh +++ b/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 |