diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-01 15:29:41 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-01 15:29:41 +0000 |
commit | f844c87a4d676bcc8ad7ac24b5132d7aa5ccfeca (patch) | |
tree | c2a3b06a34243abe3826eead259bb08900f011f1 /Completion/User/_pbm | |
parent | 26cf7b8d50f1b7d9d0b9115018ef4dc8624b5030 (diff) | |
download | zsh-f844c87a4d676bcc8ad7ac24b5132d7aa5ccfeca.tar.gz zsh-f844c87a4d676bcc8ad7ac24b5132d7aa5ccfeca.tar.xz zsh-f844c87a4d676bcc8ad7ac24b5132d7aa5ccfeca.zip |
zsh-workers/8840
Diffstat (limited to 'Completion/User/_pbm')
-rw-r--r-- | Completion/User/_pbm | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Completion/User/_pbm b/Completion/User/_pbm index 9eecd0390..7eff60c69 100644 --- a/Completion/User/_pbm +++ b/Completion/User/_pbm @@ -18,7 +18,7 @@ fi if [[ $# -ne 0 || $+_in_pbm -ne 0 ]]; then if (( ! $# )); then - _description expl 'picture file' + _description files expl 'picture file' set -- "$expl[@]" fi _files "$@" -g "$pat" || _files "$@" -g '*.(#i)p[bgp]m' @@ -258,7 +258,7 @@ pgmtoppm) return ret elif [[ CURRENT -eq 3 && "$words[2]" = -map ]]; then - _description expl 'map file' + _description files expl 'map file' _files "$expl[@]" -g '*.(#i)ppm' else _pbm @@ -516,9 +516,9 @@ ppmchange) _pbm && ret=0 if (( CURRENT & 1 )); then - _description expl 'new color' + _description colors expl 'new color' else - _description expl 'old color' + _description colors expl 'old color' fi _x_color "$expl[@]" && ret=0 @@ -600,7 +600,7 @@ ppmquant) return ret elif [[ CURRENT -eq 3 && "$words[2]" = -map ]]; then - _description expl 'map file' + _description files expl 'map file' _files "$expl[@]" -g '*.(#i)ppm' else _pbm @@ -742,7 +742,7 @@ rgb3toppm) fi if [[ -n "$expl" ]]; then - _description expl "$expl" + _description files expl "$expl" _files "$expl" -g '*.(#i)pgm' fi ;; @@ -772,7 +772,7 @@ zeisstopnm) _arguments '(-pgm -ppm)'-p{g,p}m ':file: _pbm' ;; -*) - _description expl 'picture file' +*) + _description files expl 'picture file' _files "$expl[@]" -g "$pat" || _files "$expl[@]" -g '*.(#i)p[bgp]m' esac |