From f895d0cb20752b8fcc70ed693245e05a3eed23f2 Mon Sep 17 00:00:00 2001 From: Dan Hughes Date: Mon, 9 Sep 2013 20:39:55 -0400 Subject: [PATCH] Add code to allow pre fpath entries via zstyle. --- modules/completion/init.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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