Prepend, not append, to fpath.
This commit is contained in:
parent
9c24ac8211
commit
e2eeef5f86
|
@ -6,9 +6,9 @@ if [[ "$TERM" == 'dumb' ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Add functions to fpath.
|
# Add functions to fpath.
|
||||||
fpath+=(${OMZ}/plugins/${^plugins} $OMZ/themes/*(/))
|
fpath=($OMZ/themes/*(/) $OMZ/plugins/${^plugins} $OMZ/functions $fpath)
|
||||||
|
|
||||||
# Load and run compinit.
|
# Load and initialize the completion system.
|
||||||
autoload -Uz compinit && compinit -i
|
autoload -Uz compinit && compinit -i
|
||||||
|
|
||||||
# Load all files in $OMZ/oh-my-zsh/lib/ that end in .zsh.
|
# Load all files in $OMZ/oh-my-zsh/lib/ that end in .zsh.
|
||||||
|
|
Loading…
Reference in a new issue