1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 21:44:11 +01:00

16821+16831: _gzip, _compress, _bzip2 complete after redirections

This commit is contained in:
Peter Stephenson 2002-03-14 14:38:48 +00:00
parent 45f9a36216
commit 10cbfa987a
4 changed files with 10 additions and 3 deletions

@ -1,3 +1,10 @@
2002-03-14 Peter Stephenson <pws@csr.com>
* 16821 (adapted, c.f. 16831): Completion/Unix/Command/_bzip2,
Completion/Unix/Command/_compress,
Completion/Unix/Command/_gzip: add completions for the redirection
code in 16819.
2002-03-13 Sven Wischnowsky <wischnow@zsh.org>
* 16819: Completion/compdump, Completion/compinit,

@ -1,4 +1,4 @@
#compdef bzip2 bunzip2 bzcat=bunzip2 bzip2recover
#compdef bzip2 bunzip2 bzcat=bunzip2 bzip2recover -redirect-,<,bunzip2=bunzip2 -redirect-,>,bzip2=bunzip2 -redirect-,<,bzip2=bzip2
local decompress expl state line curcontext="$curcontext"
typeset -A opt_args

@ -1,4 +1,4 @@
#compdef compress uncompress
#compdef compress uncompress -redirect-,<,uncompress=uncompress -redirect-,>,compress=uncompress -redirect-,<,compress=compress
local expl state line bits common_args1 common_args2 decompress
local curcontext="$curcontext"

@ -1,4 +1,4 @@
#compdef gzip gunzip gzcat=gunzip
#compdef gzip gunzip gzcat=gunzip -redirect-,<,gunzip=gunzip -redirect-,>,gzip=gunzip -redirect-,<,gzip=gzip
local decompress expl curcontext="$curcontext" state line
typeset -A opt_args