Prepend, not append, to fpath.

This commit is contained in:
Sorin Ionescu 2011-07-28 16:59:15 -04:00
parent 9c24ac8211
commit e2eeef5f86

View File

@ -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.