mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
Merge pull request #131 from marktran/master
change zsh fpath for homebrew
This commit is contained in:
commit
1994d0bb13
@ -18,8 +18,8 @@ if [[ -d ${HOME}/.autojump ]]; then
|
||||
fpath=(${HOME}/.autojump/functions/ ${fpath})
|
||||
fi
|
||||
# set fpath if necessary for homebrew installation
|
||||
if [[ -d "`brew --prefix 2>/dev/null`/share/zsh/functions" ]]; then
|
||||
fpath=(`brew --prefix`/share/zsh/functions ${fpath})
|
||||
if [[ -d "`brew --prefix 2>/dev/null`/share/zsh/site-functions" ]]; then
|
||||
fpath=(`brew --prefix`/share/zsh/site-functions ${fpath})
|
||||
fi
|
||||
|
||||
function autojump_preexec() {
|
||||
|
Loading…
Reference in New Issue
Block a user