summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2013-12-01 13:50:48 -0800
committerRobby Russell <robby@planetargon.com>2013-12-01 13:50:48 -0800
commit401c82a8c88d8dc7a2e89b67dc62b9ec020b88df (patch)
treed8c00dd17dfd30d26359677283c13b721c180538
parentd51cb6d385b934207c163049df35025234d5b849 (diff)
parent699c82eb89094e3c2ca81dfd96b44d155bca6fba (diff)
downloadzsh-401c82a8c88d8dc7a2e89b67dc62b9ec020b88df.tar.gz
zsh-401c82a8c88d8dc7a2e89b67dc62b9ec020b88df.tar.bz2
zsh-401c82a8c88d8dc7a2e89b67dc62b9ec020b88df.zip
Merge pull request #2286 from ych/master
Add FreeBSD support for autojump plugin
-rw-r--r--plugins/autojump/autojump.plugin.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/autojump/autojump.plugin.zsh b/plugins/autojump/autojump.plugin.zsh
index f856f2f01..0aa14959d 100644
--- a/plugins/autojump/autojump.plugin.zsh
+++ b/plugins/autojump/autojump.plugin.zsh
@@ -5,6 +5,8 @@ if [ $commands[autojump] ]; then # check if autojump is installed
. /etc/profile.d/autojump.zsh
elif [ -f /etc/profile.d/autojump.sh ]; then # gentoo installation
. /etc/profile.d/autojump.sh
+ elif [ -f /usr/local/share/autojump/autojump.zsh ]; then # freebsd installation
+ . /usr/local/share/autojump/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