From 626e2aeb1657f112feb6d03c34bb9e9f44764c75 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 23 Mar 2000 04:19:26 +0000 Subject: zsh-workers/10195 --- Completion/User/_pbm | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'Completion/User/_pbm') diff --git a/Completion/User/_pbm b/Completion/User/_pbm index 2c12505ee..1f740ad31 100644 --- a/Completion/User/_pbm +++ b/Completion/User/_pbm @@ -254,7 +254,7 @@ pgmtoppm) fi _x_color && ret=0 - _wanted options expl option && compadd "$expl[@]" - -map && ret=0 + _wanted options expl option compadd - -map && ret=0 return ret elif [[ CURRENT -eq 3 && "$words[2]" = -map ]]; then @@ -590,12 +590,11 @@ ppmquant) fi if [[ CURRENT -eq 2 ]]; then - _wanted options expl option && - if [[ -n "$opt" ]]; then - compadd "$expl[@]" - -map -fs -floyd && ret=0 - else - compadd "$expl[@]" - -map && ret=0 - fi + if [[ -n "$opt" ]]; then + _wanted options expl option compadd - -map -fs -floyd && ret=0 + else + _wanted options expl option compadd - -map && ret=0 + fi _message 'number of colors' return ret -- cgit 1.4.1