about summary refs log tree commit diff
path: root/Completion/Builtins/_zstyle
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-10-11 12:19:23 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-10-11 12:19:23 +0000
commitadf79659510ed08c78bb4ccb881a5c03ef2e6759 (patch)
tree8d2388a2435c7648b253a01d130be5ce1146419c /Completion/Builtins/_zstyle
parent5d8adbee0753795e7903b40847e17c879766dbf7 (diff)
downloadzsh-adf79659510ed08c78bb4ccb881a5c03ef2e6759.tar.gz
zsh-adf79659510ed08c78bb4ccb881a5c03ef2e6759.tar.xz
zsh-adf79659510ed08c78bb4ccb881a5c03ef2e6759.zip
add _all_matcher completer and supporting C-code for adding a special match representing all other matches; remove completions style from _expand(|_word) (12960)
Diffstat (limited to 'Completion/Builtins/_zstyle')
-rw-r--r--Completion/Builtins/_zstyle13
1 files changed, 9 insertions, 4 deletions
diff --git a/Completion/Builtins/_zstyle b/Completion/Builtins/_zstyle
index 62e5369e4..21c6fd0de 100644
--- a/Completion/Builtins/_zstyle
+++ b/Completion/Builtins/_zstyle
@@ -58,7 +58,8 @@ styles=(
   max-errors		 c:
   menu			 c:boolauto
   numbers		 c:bool
-  old-list		 c:bool 
+  old-list		 c:bool
+  old-matches            c:oldmatches
   old-menu		 c:bool 
   original		 c:bool
   packageset		 c:packageset
@@ -275,15 +276,19 @@ while [[ -n $state ]]; do
       ;;
 
     ignline) 
-      _wanted values expl boolean compadd true false current current-shown other
+      _wanted values expl 'ignore strings on the line' compadd true false current current-shown other
       ;;
 
     keep-prefix) 
-      _wanted values expl boolean compadd true false changed
+      _wanted values expl 'keep prefix' compadd true false changed
       ;;
 
     match-orig) 
-      _wanted values expl boolean compadd only both
+      _wanted values expl "match without inserting \`*'" compadd only both
+      ;;
+
+    oldmatches) 
+      _wanted values expl 'use list of old matches' compadd true false only
       ;;
 
     urgh)