From fc426939cc5a8bc7acd809f9e013e6c10ede044f Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Wed, 5 Apr 2000 11:07:25 +0000 Subject: renaming some styles --- Completion/Builtins/_zstyle | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'Completion/Builtins/_zstyle') 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 @ -- cgit 1.4.1