Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _g(|un)zip



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