From 6c1fb551ba0973c9a86e1ea479d553d66c6bf6b7 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 15 Apr 1999 18:24:09 +0000 Subject: zsh-3.1.5-pws-14 --- Completion/Builtins/_setopt | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'Completion/Builtins/_setopt') diff --git a/Completion/Builtins/_setopt b/Completion/Builtins/_setopt index b458cb2b0..e5a6c054f 100644 --- a/Completion/Builtins/_setopt +++ b/Completion/Builtins/_setopt @@ -1,11 +1,10 @@ #defcomp setopt -local nm=$compstate[nmatches] ret=1 - -compgen -M 'L:|[nN][oO]= M:_= M:{A-Z}={a-z}' \ - -s '$({ unsetopt kshoptionprint; unsetopt } 2>/dev/null)' && ret=0 - -[[ compstate[nmatches] -eq nm ]] && - compgen -M 'L:|[nN][oO]= M:_= M:{A-Z}={a-z}' -o && ret=0 - -return ret +# If you first want to complete only unset options, un-comment the lines +# setting the _unset_options array and then use: +# +# _unset_options || _options +# +# here. + +_options -- cgit 1.4.1