zsh-workers
 help / color / mirror / code / Atom feed
From: Marko Myllynen <myllynen@redhat.com>
To: zsh-workers@zsh.org
Subject: Re: zsh _multi_parts patch and question
Date: Tue, 10 May 2016 14:47:18 +0300	[thread overview]
Message-ID: <5731CA46.8090408@redhat.com> (raw)
In-Reply-To: <3CE5BE72-0EC4-487D-9436-FA9776BCD8D2@kba.biglobe.ne.jp>

Hi,

On 2016-05-10 13:24, Jun T. wrote:
> On 2016/05/10, at 16:23, Marko Myllynen <myllynen@redhat.com> wrote:
> 
>>  # Fail
>>  _wanted test expl test _multi_parts -i . \
>>    ( a.b.a a.b.b b.a.a b.a.b c.a.a c.a.b ) && return 0
> 
> You need to quote the literal array, for example,
> 
> _wanted test expl test _multi_parts -i . \
>    '( a.b.a a.b.b b.a.a b.a.b c.a.a c.a.b )' && return 0

Ah, ok, now it's obvious, I think I was confused by to quoting in the
man page, this is what I see when in zshcompsys(1):

a literal array in the form `(foo bar)', a parenthesised list of words

Thanks,

-- 
Marko Myllynen


      reply	other threads:[~2016-05-10 11:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-10  7:23 Marko Myllynen
2016-05-10 10:24 ` Jun T.
2016-05-10 11:47   ` Marko Myllynen [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=5731CA46.8090408@redhat.com \
    --to=myllynen@redhat.com \
    --cc=zsh-workers@zsh.org \
    /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).