summaryrefslogtreecommitdiffstats
path: root/Completion/User/_a2ps
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-04-15 18:18:42 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-04-15 18:18:42 +0000
commit7a0415cfd70a02b2280d27556c6c54cef1c86e1a (patch)
tree37a88a1c4611ee37f2a3209873fc9a34a2624587 /Completion/User/_a2ps
parentzsh-3.1.5-pws-10 (diff)
downloadzsh-7a0415cfd70a02b2280d27556c6c54cef1c86e1a.tar
zsh-7a0415cfd70a02b2280d27556c6c54cef1c86e1a.tar.gz
zsh-7a0415cfd70a02b2280d27556c6c54cef1c86e1a.tar.bz2
zsh-7a0415cfd70a02b2280d27556c6c54cef1c86e1a.tar.lz
zsh-7a0415cfd70a02b2280d27556c6c54cef1c86e1a.tar.xz
zsh-7a0415cfd70a02b2280d27556c6c54cef1c86e1a.tar.zst
zsh-7a0415cfd70a02b2280d27556c6c54cef1c86e1a.zip
zsh-3.1.5-pws-11zsh-3.1.5-pws-11
Diffstat (limited to 'Completion/User/_a2ps')
-rw-r--r--Completion/User/_a2ps8
1 files changed, 4 insertions, 4 deletions
diff --git a/Completion/User/_a2ps b/Completion/User/_a2ps
index 9aa9d3d99..600b58872 100644
--- a/Completion/User/_a2ps
+++ b/Completion/User/_a2ps
@@ -1,22 +1,22 @@
#defcomp a2ps
-if [[ -prefix -- ]]; then
+if [[ "$PREFIX[1,2]" = -- ]]; then
_comp_parts '(--borders --compact --truncate-lines --interpret
--print-anyway --delegate)' '=' '(yes no)'
_comp_parts '(--major)' '=' '(rows columns)'
_comp_parts '(--end-of-line)' '=' '(r n nr rn any)'
- complist -S= -k '(--medium --columns --rows --line-numbers
+ compgen -S= -k '(--medium --columns --rows --line-numbers
--font-size --lines-per-page --chars-per-line
--tabsize --non-printable-format --encoding
--title --stdin --prologue --highlight-level
--strip-level --output --version-control --suffix
--printer --copies --sides --page-prefeed
--no-page-prefeed)'
- complist -qS= -k '(--margin --header --underlay --left-title
+ compgen -qS= -k '(--margin --header --underlay --left-title
--right-title --left-footer --footer --right-footer
--pages --pretty-print)'
- complist -k '(--landscape --portrait --catman --no-header)'
+ compgen -k '(--landscape --portrait --catman --no-header)'
else
_files -F fignore -g "*~*.ps"
fi