Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _g(|un)zip
- X-seq: zsh-workers 9650
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH: _g(|un)zip
- Date: Thu, 10 Feb 2000 13:03:42 +0100 (MET)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Just had to look at a *.tgz file...
Bye
Sven
diff -ru ../z.old/Completion/User/_gunzip Completion/User/_gunzip
--- ../z.old/Completion/User/_gunzip Thu Feb 10 12:55:15 2000
+++ Completion/User/_gunzip Thu Feb 10 13:01:37 2000
@@ -3,4 +3,4 @@
local expl
_description files expl 'compressed file'
-_files "$expl[@]" -g '*.[gG][z]'
+_files "$expl[@]" -g '*.([tT]|)[gG][z]'
diff -ru ../z.old/Completion/User/_gzip Completion/User/_gzip
--- ../z.old/Completion/User/_gzip Thu Feb 10 12:55:15 2000
+++ Completion/User/_gzip Thu Feb 10 13:01:26 2000
@@ -3,4 +3,4 @@
local expl
_description files expl 'file to compress'
-_files "$expl[@]" -g '*~*.[gG][zZ]'
+_files "$expl[@]" -g '*~*.([tT]|)[gG][zZ]'
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author