From adf79659510ed08c78bb4ccb881a5c03ef2e6759 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Wed, 11 Oct 2000 12:19:23 +0000 Subject: add _all_matcher completer and supporting C-code for adding a special match representing all other matches; remove completions style from _expand(|_word) (12960) --- Completion/Builtins/_zstyle | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'Completion/Builtins') 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) -- cgit 1.4.1