diff options
author | Robby Russell <robby@planetargon.com> | 2015-08-30 21:42:00 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2015-08-30 21:42:00 -0700 |
commit | 51c3ab7d7640670f5b05546dea19a2e11c7e5a11 (patch) | |
tree | e0ff0b893d0512019e805f432cb7aa8cec158443 /plugins/autojump | |
parent | 14e1f0c6d83154e0ca08800630cd8c30d74439d2 (diff) | |
parent | 1bf5c587a5183f111538bf0879fbc75892988b8e (diff) | |
download | zsh-51c3ab7d7640670f5b05546dea19a2e11c7e5a11.tar.gz zsh-51c3ab7d7640670f5b05546dea19a2e11c7e5a11.tar.bz2 zsh-51c3ab7d7640670f5b05546dea19a2e11c7e5a11.zip |
Merge pull request #4283 from hanschen/master
Update autojump plugin for latest brew installation
Diffstat (limited to 'plugins/autojump')
-rw-r--r-- | plugins/autojump/autojump.plugin.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/autojump/autojump.plugin.zsh b/plugins/autojump/autojump.plugin.zsh index 4cf036401..c05c699e1 100644 --- a/plugins/autojump/autojump.plugin.zsh +++ b/plugins/autojump/autojump.plugin.zsh @@ -15,7 +15,7 @@ if [ $commands[autojump] ]; then # check if autojump is installed . /usr/local/share/autojump/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 - . `brew --prefix`/etc/autojump.zsh + elif [ $commands[brew] -a -f `brew --prefix`/etc/autojump.sh ]; then # mac os x with brew + . `brew --prefix`/etc/autojump.sh fi fi |