about summary refs log tree commit diff
path: root/Completion/Builtins
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-11-08 09:20:42 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-11-08 09:20:42 +0000
commite0dc80e0e54df85329b1644001df80e908fd5b9c (patch)
tree2e6a623e3e31c6914f219b3dfebca4c97ad4dfdc /Completion/Builtins
parent551fbeeab90505f0d2cafcf8c853ebc0f9e0dc0c (diff)
downloadzsh-e0dc80e0e54df85329b1644001df80e908fd5b9c.tar.gz
zsh-e0dc80e0e54df85329b1644001df80e908fd5b9c.tar.xz
zsh-e0dc80e0e54df85329b1644001df80e908fd5b9c.zip
aloow value `pattern' for insert-unambiguous style to preserve patterns in the original string; add list-suffixes style to make file completion list path suffixes if possible; slightly improved completion of pathnames with multiple pattern-components (13128)
Diffstat (limited to 'Completion/Builtins')
-rw-r--r--Completion/Builtins/_zstyle7
1 files changed, 6 insertions, 1 deletions
diff --git a/Completion/Builtins/_zstyle b/Completion/Builtins/_zstyle
index 536f962b7..654f314e7 100644
--- a/Completion/Builtins/_zstyle
+++ b/Completion/Builtins/_zstyle
@@ -44,7 +44,7 @@ styles=(
   ignored-patterns	 c:
   insert-ids             c:insert-ids
   insert-tab             c:bool
-  insert-unambiguous	 c:bool
+  insert-unambiguous	 c:insunambig
   keep-prefix		 c:keep-prefix
   last-prompt		 c:bool
   list			 c:listwhen
@@ -52,6 +52,7 @@ styles=(
   list-packed		 c:bool
   list-prompt            c:
   list-rows-first	 c:bool
+  list-suffixes		 c:bool
   local			 c:
   match-original	 c:match-orig
   matcher		 c:
@@ -292,6 +293,10 @@ while [[ -n $state ]]; do
       _wanted values expl 'use list of old matches' compadd true false only
       ;;
 
+    insunambig) 
+      _wanted values expl 'insert unambiguous string compadd true false pattern
+      ;;
+
     urgh) 
       _wanted values expl no compadd no false off 0
       ;;