mirror of https://github.com/akelge/zsh
Speedup
This commit is contained in:
parent
d6aa0053e9
commit
2a0691f654
|
@ -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
|
||||
|
Loading…
Reference in New Issue