zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Vincent Lefevre <vincent@vinc17.org>, zsh-users@sunsite.dk
Subject: Re: Problem with zip completion
Date: Wed, 17 Oct 2001 15:43:20 +0000	[thread overview]
Message-ID: <1011017154321.ZM4401@candle.brasslantern.com> (raw)
In-Reply-To: <20011017164751.A6245@greux.loria.fr>

On Oct 17,  4:47pm, Vincent Lefevre wrote:
} Subject: Problem with zip completion
}
} With the standard zip completion function (under zsh 4.0.2), when I type
} 
}   zip blah.zip file[TAB]
} 
} filename completion works, but when I type
} 
}   zip -r blah.zip file[TAB]
} 
} it doesn't work any longer. Does anyone have a better completion
} function for zip?

Hm.  Completion/Unix/Command/_zip thinks that -R is the option for
recursing into subdirectories, but zip 2.1 and 2.3 (as distributed
by RedHat) use -r, and 2.3 says -R is "PKZIP recursion."  Also, the
_zip function thinks `zip -e' will encrypt, but zip 2.3 doesn't have
that option on my system.

Oliver, it looks like you wrote the _zip function, posted in 13600.
On which version of zip did you base it?

Meanwhile, Vincent, as a temporary fix, edit _zip and replace -R with
-r in what should be the obvious place near the top of the function.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


  reply	other threads:[~2001-10-17 15:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-17 14:47 Vincent Lefevre
2001-10-17 15:43 ` Bart Schaefer [this message]
2001-10-17 16:22   ` Oliver Kiddle
     [not found] ` <20011017111333.A32235@dman.com>
2001-10-17 16:21   ` Vincent Lefevre
2001-10-17 16:49     ` Bart Schaefer
2001-10-17 17:11       ` Vincent Lefevre
2001-10-17 17:24         ` Bart Schaefer
2001-10-17 17:44           ` Bart Schaefer
2001-10-17 23:15             ` Vincent Lefevre
2001-10-18  0:57               ` Bart Schaefer
2001-10-18  2:13                 ` Vincent Lefevre
2001-10-18  4:46                   ` Sweth Chandramouli
2001-10-18  9:05                     ` Vincent Lefevre

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=1011017154321.ZM4401@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=vincent@vinc17.org \
    --cc=zsh-users@sunsite.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).