From 76953c4d3f155e78467b8c6505bebcd8e9efeafc Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Tue, 22 Feb 2000 01:43:02 +0000 Subject: zsh-workers/9827 --- Completion/Core/_match | 2 +- Completion/Core/_oldlist | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'Completion/Core') diff --git a/Completion/Core/_match b/Completion/Core/_match index 5dc7936bc..86c01f681 100644 --- a/Completion/Core/_match +++ b/Completion/Core/_match @@ -19,7 +19,7 @@ local curcontext="${curcontext/:[^:]#:/:match:}" tmp="${${:-$PREFIX$SUFFIX}#[~=]}" [[ "$tmp:q" = "$tmp" ]] && return 1 -zstyle -s ":completion:${curcontext}:" original orig +zstyle -s ":completion:${curcontext}:" match-original orig zstyle -b ":completion:${curcontext}:" insert-unambiguous ins # Try completion without inserting a `*'? diff --git a/Completion/Core/_oldlist b/Completion/Core/_oldlist index 74e48d6e0..762f5367e 100644 --- a/Completion/Core/_oldlist +++ b/Completion/Core/_oldlist @@ -4,10 +4,10 @@ local curcontext="${curcontext/:[^:]#:/:oldlist:}" list -zstyle -s ":completion:${curcontext}:" list list +zstyle -s ":completion:${curcontext}:" old-list list # If this is a listing widget and there is already an old list, -# and either the style :oldlist:list is `always', or it is not `never' +# and either the style :oldlist:old-list is `always', or it is not `never' # and the list is not already shown, then use the existing list for listing # (even if it was generated by another widget). # Do this also if there is an old list and it was generated by the @@ -30,13 +30,13 @@ if [[ -n $compstate[old_list] && $list != never ]]; then fi # If this is a completion widget, and we have a completion inserted already, -# and the style :oldlist:menu is `true', then we cycle through the +# and the style :oldlist:old-menu is `true', then we cycle through the # existing list (even if it was generated by another widget). if [[ -z $compstate[old_insert] && -n $compstate[old_list] ]]; then compstate[old_list]=keep elif [[ $WIDGET = *complete(|-prefix|-word) ]] && - zstyle -t ":completion:${curcontext}:" menu; then + zstyle -t ":completion:${curcontext}:" old-menu; then if [[ -n $compstate[old_insert] ]]; then compstate[old_list]=keep if [[ $WIDGET = *reverse* ]]; then -- cgit 1.4.1