From 1fb481b8c28f555c4f9b787cc92498a3821541ec Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Mon, 17 Apr 2000 08:22:44 +0000 Subject: better completion after `=', everywhere (10780) --- Completion/Builtins/_zstyle | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Completion/Builtins/_zstyle') diff --git a/Completion/Builtins/_zstyle b/Completion/Builtins/_zstyle index b19303300..5f078fddb 100644 --- a/Completion/Builtins/_zstyle +++ b/Completion/Builtins/_zstyle @@ -12,9 +12,10 @@ styles=( accept-exact c:bool add-space c:bool ambiguous c:bool - arguments c: + assign-list c: auto-description c: break-keys c: + command c:command completer c:completer completions c: condition c: @@ -38,7 +39,6 @@ styles=( insert-unambiguous c:bool last-prompt c:bool list c:listwhen - list-arguments c: list-colors c: list-packed c:bool list-rows-first c:bool @@ -235,6 +235,12 @@ while [[ -n $state ]]; do compadd - show menu ;; + command) + shift 3 words + (( CURRENT -= 3 )) + _normal + ;; + _*) ${=ostate} ;; -- cgit 1.4.1