dc9af89669135a61d306c34caf0a55ab9be1f6ea
- Author
- Robby Russell <robby@planetargon.com>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Merge pull request #3372 from bbiao/compatible-with-new-autojump
autojump installed from github has mv the autojump.zsh to $HOME/.autojum...
Diff
1diff --git a/plugins/autojump/autojump.plugin.zsh b/plugins/autojump/autojump.plugin.zsh
2index 652d22696acfdbb109b185c5baae06ccad2d19c8..4cf0364013b2655dac01bf250d063ff2d7b2d1b5 100644
3--- a/plugins/autojump/autojump.plugin.zsh
4+++ b/plugins/autojump/autojump.plugin.zsh
5@@ -1,6 +1,8 @@
6 if [ $commands[autojump] ]; then # check if autojump is installed
7 if [ -f $HOME/.autojump/etc/profile.d/autojump.zsh ]; then # manual user-local installation
8 . $HOME/.autojump/etc/profile.d/autojump.zsh
9+ elif [ -f $HOME/.autojump/share/autojump/autojump.zsh ]; then # another manual user-local installation
10+ . $HOME/.autojump/share/autojump/autojump.zsh
11 elif [ -f $HOME/.nix-profile/etc/profile.d/autojump.zsh ]; then # nix installation
12 . $HOME/.nix-profile/etc/profile.d/autojump.zsh
13 elif [ -f /usr/share/autojump/autojump.zsh ]; then # debian and ubuntu package