1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

_j is now installed to /usr/local/share/zsh/site-functions in the autojump homebrew formula

This commit is contained in:
Mark Tran 2012-06-19 18:49:36 -07:00
parent b510aa6824
commit 3c439a278e

View File

@ -18,8 +18,8 @@ if [[ -d ${HOME}/.autojump ]]; then
fpath=(${HOME}/.autojump/functions/ ${fpath}) fpath=(${HOME}/.autojump/functions/ ${fpath})
fi fi
# set fpath if necessary for homebrew installation # set fpath if necessary for homebrew installation
if [[ -d "`brew --prefix 2>/dev/null`/share/zsh/functions" ]]; then if [[ -d "`brew --prefix 2>/dev/null`/share/zsh/site-functions" ]]; then
fpath=(`brew --prefix`/share/zsh/functions ${fpath}) fpath=(`brew --prefix`/share/zsh/site-functions ${fpath})
fi fi
function autojump_preexec() { function autojump_preexec() {