Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: compadd -qS' ' should escape the space
- X-seq: zsh-workers 23405
- From: "Nikolai Weibull" <now@xxxxxxxx>
- To: "Zsh hackers list" <zsh-workers@xxxxxxxxxx>
- Subject: Re: compadd -qS' ' should escape the space
- Date: Wed, 9 May 2007 22:09:50 +0200
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=TdWc/L/ZXDt79Boc5lgVHS+86Wk2uFxnRxmP975Q9QHFSMFKQSuM9O5RcS47gWUyHdoNsaGdLL8ibkXA4we54HAjPtkzr1MCKWKdYzS3mXOlpChFU7QpuR0tUryZRAuI6s2znIHrEhE2ac+Bip/BVC2BtCFu5rBjlH0fD+f31KA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=PozE5YHiXhtvGqjTegFHPe/bUkBbuEa3kakEgu0+/j9LvxrmwI/KXLBJGqIq8rzU4mv7s1Z4uzCxjzZqTa17PFIqvexnLP0EUMibhzkCjbsLad8dGPwOWTMlgHNJGP22N4qO6jK5EOMzwv+LUF2MKGwgvuOxAldrpgM30R0l0eo=
- In-reply-to: <dbfc82860705030911t4202811fo528080fd69af312f@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <dbfc82860705030911t4202811fo528080fd69af312f@xxxxxxxxxxxxxx>
- Sender: nikolai.weibull@xxxxxxxxx
On 5/3/07, Nikolai Weibull <now@xxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author