about summary refs log tree commit diff
path: root/Completion/Core
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-02-22 01:43:02 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-02-22 01:43:02 +0000
commit76953c4d3f155e78467b8c6505bebcd8e9efeafc (patch)
treeccc5f4517e1bc14082c8cefa70a784f6eb55e52b /Completion/Core
parent6398d0e2bcdd17168e619b91b3a863e572d20aa6 (diff)
downloadzsh-76953c4d3f155e78467b8c6505bebcd8e9efeafc.tar.gz
zsh-76953c4d3f155e78467b8c6505bebcd8e9efeafc.tar.xz
zsh-76953c4d3f155e78467b8c6505bebcd8e9efeafc.zip
zsh-workers/9827
Diffstat (limited to 'Completion/Core')
-rw-r--r--Completion/Core/_match2
-rw-r--r--Completion/Core/_oldlist8
2 files changed, 5 insertions, 5 deletions
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