From: Chmouel Boudjnah <chmouel@mandrakesoft.com>
To: zsh-workers@sunsite.auc.dk
Subject: PATCH: archive completion with mandrake tar
Date: 17 Feb 2000 11:40:27 +0100 [thread overview]
Message-ID: <m3og9gqfhg.fsf@cassini.us.mandrakesoft.com> (raw)
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
reply other threads:[~2000-02-17 19:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3og9gqfhg.fsf@cassini.us.mandrakesoft.com \
--to=chmouel@mandrakesoft.com \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).