Prepend, not append, to fpath.

This commit is contained in:
Sorin Ionescu 2011-07-28 16:59:15 -04:00
parent 9c24ac8211
commit e2eeef5f86
1 changed files with 2 additions and 2 deletions

View File

@ -6,9 +6,9 @@ if [[ "$TERM" == 'dumb' ]]; then
fi
# 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
# Load all files in $OMZ/oh-my-zsh/lib/ that end in .zsh.