From ca0deae382e7798eeff829d9b93472cf876574a3 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Tue, 20 Apr 2004 12:11:13 +0000 Subject: 19767, 19785: store flags for -z and -k options to autoload allowing the completion system to be used with ksh_autoload set --- Completion/compinstall | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Completion/compinstall') diff --git a/Completion/compinstall b/Completion/compinstall index c53d12e34..f3e01043e 100644 --- a/Completion/compinstall +++ b/Completion/compinstall @@ -7,7 +7,7 @@ local compcontext=-default- __ci_tidyup() { unfunction -m __ci_\* 2>/dev/null unfunction compinstall - autoload -U compinstall + autoload -Uz compinstall } __ci_newline() { @@ -119,7 +119,7 @@ ${match[3]}" then compinit_args=$match[1] elif [[ $line != [[:blank:]]# && - $line != [[:blank:]]#'autoload -U compinit' && + $line != [[:blank:]]#'autoload -Uz compinit' && $line != [[:blank:]]#compinit && $line != [[:blank:]]#zstyle[[:blank:]]#:compinstall* ]]; then warn_unknown="${warn_unknown:+$warn_unknown @@ -1886,7 +1886,7 @@ $output" [[ -n $fpath_line ]] && print -r "$fpath_line" print -r " -autoload -U compinit +autoload -Uz compinit compinit${compinit_args:+ $compinit_args}" print -r "$endline" -- cgit 1.4.1