diff options
author | ZHANG Biao <bbbiao@gmail.com> | 2014-12-04 11:38:37 +0800 |
---|---|---|
committer | ZHANG Biao <bbbiao@gmail.com> | 2014-12-04 11:38:37 +0800 |
commit | a19d1d1f05281fc286991ff85010d6d431ae1d58 (patch) | |
tree | 93894a4967b9acc54b959f3e73872f143e4c2780 /plugins/autojump | |
parent | 43aa3783f8a5606e0f884a43d51daf36553af1e4 (diff) | |
download | zsh-a19d1d1f05281fc286991ff85010d6d431ae1d58.tar.gz zsh-a19d1d1f05281fc286991ff85010d6d431ae1d58.tar.bz2 zsh-a19d1d1f05281fc286991ff85010d6d431ae1d58.zip |
autojump installed from github has mv the autojump.zsh to $HOME/.autojump/share/autojump/autojump.zsh
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 652d22696..4cf036401 100644 --- a/plugins/autojump/autojump.plugin.zsh +++ b/plugins/autojump/autojump.plugin.zsh @@ -1,6 +1,8 @@ if [ $commands[autojump] ]; then # check if autojump is installed if [ -f $HOME/.autojump/etc/profile.d/autojump.zsh ]; then # manual user-local installation . $HOME/.autojump/etc/profile.d/autojump.zsh + elif [ -f $HOME/.autojump/share/autojump/autojump.zsh ]; then # another manual user-local installation + . $HOME/.autojump/share/autojump/autojump.zsh elif [ -f $HOME/.nix-profile/etc/profile.d/autojump.zsh ]; then # nix installation . $HOME/.nix-profile/etc/profile.d/autojump.zsh elif [ -f /usr/share/autojump/autojump.zsh ]; then # debian and ubuntu package |