Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: archive completion with mandrake tar
- X-seq: zsh-workers 9784
- From: Chmouel Boudjnah <chmouel@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH: archive completion with mandrake tar
- Date: 17 Feb 2000 11:40:27 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author