diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2002-03-14 14:38:48 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2002-03-14 14:38:48 +0000 |
commit | 10cbfa987a94070ebe7786632af8ca3627bed43b (patch) | |
tree | 6952ebf00673fcb1d0f65d9237795e344400766c | |
parent | 45f9a36216637075172d0bdf7ad8e18fad34c42e (diff) | |
download | zsh-10cbfa987a94070ebe7786632af8ca3627bed43b.tar.gz zsh-10cbfa987a94070ebe7786632af8ca3627bed43b.tar.xz zsh-10cbfa987a94070ebe7786632af8ca3627bed43b.zip |
16821+16831: _gzip, _compress, _bzip2 complete after redirections
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | Completion/Unix/Command/_bzip2 | 2 | ||||
-rw-r--r-- | Completion/Unix/Command/_compress | 2 | ||||
-rw-r--r-- | Completion/Unix/Command/_gzip | 2 |
4 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index 5b6765055..ecdae8150 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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, diff --git a/Completion/Unix/Command/_bzip2 b/Completion/Unix/Command/_bzip2 index 951f85996..1c6a93ac3 100644 --- a/Completion/Unix/Command/_bzip2 +++ b/Completion/Unix/Command/_bzip2 @@ -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 diff --git a/Completion/Unix/Command/_compress b/Completion/Unix/Command/_compress index 9ba8c8e15..a2e52704e 100644 --- a/Completion/Unix/Command/_compress +++ b/Completion/Unix/Command/_compress @@ -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" diff --git a/Completion/Unix/Command/_gzip b/Completion/Unix/Command/_gzip index 46664958d..d1f26415b 100644 --- a/Completion/Unix/Command/_gzip +++ b/Completion/Unix/Command/_gzip @@ -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 |