From: "Oliver Kiddle" <okiddle@yahoo.co.uk>
To: zsh-workers@sunsite.dk
Subject: false prefix-needed in _arguments
Date: Thu, 14 Feb 2002 15:06:53 +0000 (GMT) [thread overview]
Message-ID: <20020214150653.26913.qmail@web9303.mail.yahoo.com> (raw)
The prefix-needed style in _arguments doesn't seem to be working:
_f() { _arguments '-a' '-b' '1:files:_files' }
zstyle '*' prefix-needed false
compdef _f f
f <tab>
And only files are offered. It should be offering both files and
options.
I've always had prefix-needed set to true so only noticed this when I
tried setting:
zstyle ':completion:*:option-*:options' prefix-needed false
so that options are listed when the argument to an option is optional.
Oliver
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
next reply other threads:[~2002-02-14 15:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-14 15:06 Oliver Kiddle [this message]
2002-02-18 14:24 ` Sven Wischnowsky
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=20020214150653.26913.qmail@web9303.mail.yahoo.com \
--to=okiddle@yahoo.co.uk \
--cc=zsh-workers@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).