From 1f6786ef7ae24ff858f52c6d4ac2bc23d529c0c1 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Mon, 12 Jul 1999 17:02:40 +0000 Subject: zsh-3.1.6-test-1 --- Completion/Core/compinstall | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion/Core/compinstall') diff --git a/Completion/Core/compinstall b/Completion/Core/compinstall index 52b4bf707..bd58d643b 100644 --- a/Completion/Core/compinstall +++ b/Completion/Core/compinstall @@ -136,7 +136,7 @@ fi # Check if this is in fpath already, else put it there (with ~'s expanded). _ci_f=${~_ci_fdir} -[[ -z ${fpath[(r)$_ci_f]} ]] && fpath=($_ci_f $fpath) +[[ -z ${fpath[(r)$_ci_f]} ]] && fpath=($fpath $_ci_f) # Contract $HOME to ~ in the parameter to be used for writing. _ci_fdir=${_ci_fdir/#$HOME/\~} @@ -183,7 +183,7 @@ ${_ci_dumpfile}. Please edit a replacement." fi _ci_lines="${_ci_lines}_compdir=$_ci_fdir -[[ -z \$fpath[(r)\$_compdir] ]] && fpath=(\$_compdir \$fpath) +[[ -z \$fpath[(r)\$_compdir] ]] && fpath=(\$fpath \$_compdir) autoload -U compinit compinit" [[ $_ci_dtype != standard ]] && _ci_lines="${_ci_lines} $_ci_dumpfile" -- cgit 1.4.1