From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: zsh-users@sunsite.dk
Subject: Re: Problem with ignore-line and parenthesis
Date: Fri, 27 Aug 2004 12:14:17 +0200 [thread overview]
Message-ID: <3660.1093601657@trentino.logica.co.uk> (raw)
In-Reply-To: <Pine.LNX.4.61.0408261730050.28624@toltec.zanshin.com>
Bart wrote:
> On Thu, 26 Aug 2004, Jesper Holmberg wrote:
>
> > I have the following zstyle in my .zshrc:
> >
> > zstyle ':completion:*:(rm|cp|mv):*' ignore-line yes
> >
> > Filenames with parentheses in them seem to cause problems, though.
>
> Filenames with any glob pattern in them would have problems, I think. See
> if this does the right thing.
Unfortunately, this now looses the useful feature that where a glob
pattern is intentionally used, all files matching the pattern are
ignored. That's often quite useful because many matches can be cut out.
Not having no_nomatch or no_bad_pattern set, I've never noticed the
problem Jesper mentions.
One solution is to add both "$words[@]" and "${(q)words[@]}" to
_comp_ignore. Or should we check for the nomatch option or use more
values to the ignore-line style? Further discussion of that should
probably move to -workers.
Oliver
prev parent reply other threads:[~2004-08-27 10:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-26 18:18 Jesper Holmberg
2004-08-26 22:14 ` Andy Spiegl
2004-08-30 15:13 ` another Problem with ignore-line Andy Spiegl
2004-08-30 15:25 ` Oliver Kiddle
2004-08-30 17:20 ` Andy Spiegl
2004-08-30 21:21 ` Bart Schaefer
2004-08-31 8:38 ` Andy Spiegl
2004-08-31 12:27 ` Oliver Kiddle
2004-08-31 14:41 ` Andy Spiegl
2004-08-27 0:37 ` Problem with ignore-line and parenthesis Bart Schaefer
2004-08-27 7:32 ` Jesper Holmberg
2004-08-27 10:14 ` Oliver Kiddle [this message]
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=3660.1093601657@trentino.logica.co.uk \
--to=okiddle@yahoo.co.uk \
--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).