about summary refs log tree commit diff
path: root/Completion/Builtins
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-05 11:07:25 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-05 11:07:25 +0000
commitfc426939cc5a8bc7acd809f9e013e6c10ede044f (patch)
treef66d42b2c035775db72f91cef6ff594712f9cfb8 /Completion/Builtins
parentf7a52cda469fd0a1b7198342fc052ef64ab70e8f (diff)
downloadzsh-fc426939cc5a8bc7acd809f9e013e6c10ede044f.tar.gz
zsh-fc426939cc5a8bc7acd809f9e013e6c10ede044f.tar.xz
zsh-fc426939cc5a8bc7acd809f9e013e6c10ede044f.zip
renaming some styles
Diffstat (limited to 'Completion/Builtins')
-rw-r--r--Completion/Builtins/_zstyle19
1 files changed, 10 insertions, 9 deletions
diff --git a/Completion/Builtins/_zstyle b/Completion/Builtins/_zstyle
index cd470598a..f2a43b180 100644
--- a/Completion/Builtins/_zstyle
+++ b/Completion/Builtins/_zstyle
@@ -11,9 +11,10 @@ typeset -A styles
 styles=(
   accept-exact		 c:bool
   add-space		 c:bool
+  ambiguous              c:bool
   arguments		 c:
   auto-description	 c:
-  break                  c:
+  break-keys             c:
   completer		 c:completer
   completions		 c:
   condition		 c:
@@ -22,6 +23,7 @@ styles=(
   domains                c:
   expand		 c:
   file-patterns		 c:filepat
+  file-sort              c:fsort
   format		 c:
   glob			 c:
   group-name		 c:
@@ -58,6 +60,7 @@ styles=(
   special-dirs		 c:sdirs
   squeeze-slashes	 c:bool
   stop			 c:stop
+  stop-keys		 c:
   subst-glob-only        c:
   substitute		 c:
   tag-order		 c:tag
@@ -134,14 +137,7 @@ while [[ -n $state ]]; do
       ;;
 
     cursor)
-      if [[ "$words[2]" = *:completion:inc* ]]; then
-        _wanted values expl 'cursor positioning' compadd complete key default
-      elif [[ "$words[2]" = *:completion::* ]]; then
-        _wanted values expl 'cursor positioning' compadd true false
-      else
-        _wanted values expl 'cursor positioning' \
-	  compadd complete key default true false
-      fi
+      _wanted values expl 'cursor positioning' compadd complete key default
       ;;
 
     completer)
@@ -150,6 +146,11 @@ while [[ -n $state ]]; do
                 _expand _list _menu _oldlist _next_tags
       ;;
 
+    fsort)
+      _wanted values expl 'how to sort files' \
+	compadd name size links time date modification access inode change reverse
+      ;;
+
     user-host-port)
       if [[ $PREFIX != *[@:]* ]]; then
 	_users -S @