From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: Zsh-users List <zsh-users@sunsite.dk>
Subject: Re: another Problem with ignore-line
Date: Tue, 31 Aug 2004 14:27:04 +0200 [thread overview]
Message-ID: <18424.1093955224@trentino.logica.co.uk> (raw)
In-Reply-To: <20040831083820.GA21015@spiegl.de>
Andy Spiegl wrote:
> Here are my current completion settings (I removed as much as possible):
> # General completion technique
> zstyle ':completion:*' completer _complete
>
> # don't complete the same filename
> zstyle ':completion:*:(rm|cp|mv):*' ignore-line yes
>
Try changing the ignore-line style to `other'. That is:
zstyle ':completion:*:(rm|cp|mv):*' ignore-line other
Otherwise the current word (`a' in this case) is ignored along with any
preceding words.
The default if you don't have a completer style is for _ignored to be
run after _complete so normally that would pick up the current word. So
if you prefer, you can add the _ignored completer.
See the zsh-workers discussion starting 15998 for more on the
limitations of ignore-line.
Oliver
next prev parent reply other threads:[~2004-08-31 12:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-26 18:18 Problem with ignore-line and parenthesis 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 [this message]
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
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=18424.1093955224@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).