mirror of
https://github.com/akelge/zsh
synced 2025-07-03 21:19:06 +00:00
Speedup
This commit is contained in:
@ -10,6 +10,8 @@ for prefix in /usr/local /opt/homebrew; do
|
||||
brew=$(whence $prefix/bin/brew)
|
||||
if [ $brew ]; then
|
||||
eval "$($brew shellenv)"
|
||||
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
|
@ -1,11 +0,0 @@
|
||||
if type brew &>/dev/null;then
|
||||
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
|
||||
#
|
||||
# Reload compinit and bashcompinit, to parse brew installed completions
|
||||
autoload -U compinit
|
||||
autoload bashcompinit
|
||||
compinit -u
|
||||
bashcompinit
|
||||
|
||||
fi
|
||||
|
Reference in New Issue
Block a user