zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: archive completion with mandrake tar
@ 2000-02-17 10:40 Chmouel Boudjnah
  0 siblings, 0 replies; only message in thread
From: Chmouel Boudjnah @ 2000-02-17 10:40 UTC (permalink / raw)
  To: zsh-workers

Hi,

On mandrake we use -y as filter (it's the obsolete option but a lot of
our users use it) for bzip2, here is the patch :

--- zsh-3.1.6-pws-18/Completion/User/_tar.chmou   Sun Nov 28 18:42:27 1999
+++ zsh-3.1.6-pws-18/Completion/User/_tar       Tue Nov 30 15:09:40 1999
@@ -94,6 +94,8 @@
 
   if [[ $_tar_cmd = *z* ]]; then
     largs=-tzf
+  elif [[ $_tar_cmd = *y* ]]; then
+    largs=-tyf
   elif [[ $_tar_cmd = *Z* ]]; then
     largs=-tZf
   else
--- zsh-3.1.6-dev-16/Completion/User/_tar_archive.chmou Sat Jan 15 20:41:31 2000
+++ zsh-3.1.6-dev-16/Completion/User/_tar_archive       Mon Jan 24 11:23:42 2000
@@ -16,7 +16,7 @@
 if [[ "$1" = *[tx]* ]]; then
   if [[ "$1" = *[zZ]* ]]; then
     _files "$expl[@]" -g '*.((tar|TAR).(gz|GZ|Z)|tgz)'
-  elif [[ "$1" = *I* ]]; then
+  elif [[ "$1" = *[Iy]* ]]; then
     _files "$expl[@]" -g '*.(tar|TAR).bz2'
   else
     _files "$expl[@]" -g '*.(tar|TAR)'

                                  --Chmouel


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-02-17 19:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-17 10:40 PATCH: archive completion with mandrake tar Chmouel Boudjnah

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).