From: "Nikolai Weibull" <now@bitwi.se>
To: "Zsh hackers list" <zsh-workers@sunsite.dk>
Subject: Re: compadd -qS' ' should escape the space
Date: Wed, 9 May 2007 22:09:50 +0200 [thread overview]
Message-ID: <dbfc82860705091309r4118ab8foabed40c14b172b06@mail.gmail.com> (raw)
In-Reply-To: <dbfc82860705030911t4202811fo528080fd69af312f@mail.gmail.com>
On 5/3/07, Nikolai Weibull <now@bitwi.se> wrote:
> The following code will only do the right thing if I have started the
> current word with a ":
>
> declare -a colors
>
> colors=(black red green yellow blue magenta cyan white)
>
> _describe -t color 'color' colors -qS' '
>
> I'd expect the space used as a suffix to be escaped.
I'm stupid. I can simply escape the space myself.
nikolai
prev parent reply other threads:[~2007-05-09 20:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-03 16:11 Nikolai Weibull
2007-05-07 5:44 ` Bart Schaefer
2007-05-07 7:50 ` Nikolai Weibull
2007-05-09 20:09 ` Nikolai Weibull [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=dbfc82860705091309r4118ab8foabed40c14b172b06@mail.gmail.com \
--to=now@bitwi.se \
--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).