1
0
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:
William Ting 2012-06-19 19:29:32 -07:00
commit 1994d0bb13

View File

@ -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() {