From a978d1c47cc8fab586b26b74a3abadbee0da3439 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Tue, 11 Jan 2000 16:42:18 +0000 Subject: zsh-workers/9291 --- Completion/Core/_main_complete | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Completion/Core/_main_complete b/Completion/Core/_main_complete index ec82445ee..53af97dab 100644 --- a/Completion/Core/_main_complete +++ b/Completion/Core/_main_complete @@ -16,14 +16,16 @@ # which makes the output of setopt and unsetopt reflect a different # state than the global one for which you are completing. +setopt localoptions nullglob rcexpandparam extendedglob +unsetopt markdirs globsubst shwordsplit nounset ksharrays local comp post ret=1 _compskip _prio_num=1 format \ context state line opt_args val_args curcontext="$curcontext" \ _last_nmatches=-1 _last_menu_style _def_menu_style _menu_style sel \ - _saved_exact="$compstate[exact]" \ - _saved_lastprompt="$compstate[last_prompt]" \ - _saved_list="$compstate[list]" \ - _saved_insert="$compstate[insert]" + _saved_exact="${compstate[exact]}" \ + _saved_lastprompt="${compstate[last_prompt]}" \ + _saved_list="${compstate[list]}" \ + _saved_insert="${compstate[insert]}" typeset -U _offered_tags _tried_tags _failed_tags _used_tags _unused_tags @@ -33,9 +35,6 @@ _failed_tags=() typeset -U _lastdescr -setopt localoptions nullglob rcexpandparam extendedglob -unsetopt markdirs globsubst shwordsplit nounset ksharrays - # Special completion contexts after `~' and `='. if compset -P 1 '='; then -- cgit 1.4.1