diff options
author | Robby Russell <robby@planetargon.com> | 2012-12-02 13:05:28 -0800 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2012-12-02 13:05:28 -0800 |
commit | fcc8b19253136e0f8d18d8e830c60ec64c6cc3e0 (patch) | |
tree | b85e1db8ed85ccd01e55c5fe2ca975c7ffa3ff6f /plugins/autojump | |
parent | 228c3fc89f000bdd6dcf17f4f2d75bd2f9ad716a (diff) | |
parent | 5e0fd9bb9f8f11da1d7562f5e867a28706accb57 (diff) | |
download | zsh-fcc8b19253136e0f8d18d8e830c60ec64c6cc3e0.tar.gz zsh-fcc8b19253136e0f8d18d8e830c60ec64c6cc3e0.tar.bz2 zsh-fcc8b19253136e0f8d18d8e830c60ec64c6cc3e0.zip |
Merge pull request #1328 from mfoo/master
Fix autojump plugin error on Linux with manual installation of autojump
Diffstat (limited to 'plugins/autojump')
-rw-r--r-- | plugins/autojump/autojump.plugin.zsh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/autojump/autojump.plugin.zsh b/plugins/autojump/autojump.plugin.zsh index fdce3a246..3894ccd2f 100644 --- a/plugins/autojump/autojump.plugin.zsh +++ b/plugins/autojump/autojump.plugin.zsh @@ -3,6 +3,8 @@ if [ $commands[autojump] ]; then # check if autojump is installed . /usr/share/autojump/autojump.zsh elif [ -f /etc/profile.d/autojump.zsh ]; then # manual installation . /etc/profile.d/autojump.zsh + elif [ -f $HOME/.autojump/etc/profile.d/autojump.zsh ]; then # manual user-local installation + . $HOME/.autojump/etc/profile.d/autojump.zsh elif [ -f /opt/local/etc/profile.d/autojump.zsh ]; then # mac os x with ports . /opt/local/etc/profile.d/autojump.zsh elif [ $commands[brew] -a -f `brew --prefix`/etc/autojump.zsh ]; then # mac os x with brew |