diff --git a/bin/autojump.zsh b/bin/autojump.zsh index c3008c1..e4801e4 100644 --- a/bin/autojump.zsh +++ b/bin/autojump.zsh @@ -1,7 +1,9 @@ # set user installation paths -if [[ -d ~/.autojump ]]; then +if [[ -d ~/.autojump/bin ]]; then path=(~/.autojump/bin ${path}) - fpath=(~/.autojump/functions/ ${fpath}) +fi +if [[ -d ~/.autojump/functions ]]; then + fpath=(~/.autojump/functions ${fpath}) fi