Add code to allow pre fpath entries via zstyle.

This commit is contained in:
Dan Hughes 2013-09-09 20:39:55 -04:00
parent eb1a20552a
commit f895d0cb20

View file

@ -12,7 +12,8 @@ if [[ "$TERM" == 'dumb' ]]; then
fi
# Add zsh-completions to $fpath.
fpath=("${0:h}/external/src" $fpath)
zstyle -s ':prezto:module:completion' path 'prefpath'
fpath=("$prefpath" "${0:h}/external/src" $fpath)
# Load and initialize the completion system ignoring insecure directories.
autoload -Uz compinit && compinit -i