27c6becffde091cc55e0df70875451ca82867935

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #1803 from bebugz/patch-1

gentoo linux support

Diff

 1diff --git a/plugins/autojump/autojump.plugin.zsh b/plugins/autojump/autojump.plugin.zsh
 2index 3894ccd2f56c392f004327a5931b6b6a327b02b3..f856f2f01fb81ae846549a3eba78cd23c95ad86d 100644
 3--- a/plugins/autojump/autojump.plugin.zsh
 4+++ b/plugins/autojump/autojump.plugin.zsh
 5@@ -3,6 +3,8 @@ if [ $commands[autojump] ]; then # check if autojump is installed
 6     . /usr/share/autojump/autojump.zsh
 7   elif [ -f /etc/profile.d/autojump.zsh ]; then # manual installation
 8     . /etc/profile.d/autojump.zsh
 9+  elif [ -f /etc/profile.d/autojump.sh ]; then # gentoo installation
10+    . /etc/profile.d/autojump.sh
11   elif [ -f $HOME/.autojump/etc/profile.d/autojump.zsh ]; then # manual user-local installation
12     . $HOME/.autojump/etc/profile.d/autojump.zsh
13   elif [ -f /opt/local/etc/profile.d/autojump.zsh ]; then # mac os x with ports