From 3c439a278eec55e0ec865dcf83391ac174bfd9bb Mon Sep 17 00:00:00 2001 From: Mark Tran Date: Tue, 19 Jun 2012 18:49:36 -0700 Subject: [PATCH] _j is now installed to /usr/local/share/zsh/site-functions in the autojump homebrew formula --- bin/autojump.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/autojump.zsh b/bin/autojump.zsh index 57db69d..4df7e04 100644 --- a/bin/autojump.zsh +++ b/bin/autojump.zsh @@ -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() {