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

Merge remote-tracking branch 'sodiumjoe/optimize-startup'

This commit is contained in:
William Ting 2016-10-01 10:10:11 -07:00
commit 3e089a3b32

View File

@ -10,8 +10,11 @@ fi
# set homebrew installation paths # set homebrew installation paths
if command -v brew &>/dev/null && [[ -d "$(brew --prefix)/share/zsh/site-functions" ]]; then if command -v brew &>/dev/null; then
fpath=("$(brew --prefix)/share/zsh/site-functions" ${fpath}) local brew_prefix=${BREW_PREFIX:-$(brew --prefix)}
if [[ -d "${brew_prefix}/share/zsh/site-functions" ]]; then
fpath=("${brew_prefix}/share/zsh/site-functions" ${fpath})
fi
fi fi