diff --git a/modules/completion/init.zsh b/modules/completion/init.zsh index 3ffad633..2bc7a2f9 100644 --- a/modules/completion/init.zsh +++ b/modules/completion/init.zsh @@ -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