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

New tar options -j



      -j, --bzip
              filter the archive through bzip2

Index: Completion/User/_tar
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/User/_tar,v
retrieving revision 1.2
diff -u -r1.2 _tar
--- Completion/User/_tar	2001/03/11 22:53:41	1.2
+++ Completion/User/_tar	2001/03/12 12:20:22
@@ -125,6 +125,8 @@
 
   if [[ $_tar_cmd = *z* ]]; then
     largs=-tzf
+  elif [[ $_tar_cmd = *j* ]]; then
+    largs=-tjf
   elif [[ $_tar_cmd = *y* ]]; then
     largs=-tyf
   elif [[ $_tar_cmd = *Z* ]]; then
Index: Completion/User/_tar_archive
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/User/_tar_archive,v
retrieving revision 1.1.1.6
diff -u -r1.1.1.6 _tar_archive
--- Completion/User/_tar_archive	2000/02/17 20:23:11	1.1.1.6
+++ Completion/User/_tar_archive	2001/03/12 12:20:22
@@ -16,7 +16,7 @@
 if [[ "$1" = *[tx]* ]]; then
   if [[ "$1" = *[zZ]* ]]; then
     _files "$expl[@]" -g '*.((tar|TAR).(gz|GZ|Z)|tgz)'
-  elif [[ "$1" = *[Iy]* ]]; then
+  elif [[ "$1" = *[Ijy]* ]]; then
     _files "$expl[@]" -g '*.(tar|TAR).bz2'
   else
     _files "$expl[@]" -g '*.(tar|TAR)'


-- 
MandrakeSoft Inc                     http://www.chmouel.org
                      --Chmouel



Messages sorted by: Reverse Date, Date, Thread, Author