Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
compadd -qS' ' should escape the space
- X-seq: zsh-workers 23390
- From: "Nikolai Weibull" <now@xxxxxxxx>
- To: "Zsh hackers list" <zsh-workers@xxxxxxxxxx>
- Subject: compadd -qS' ' should escape the space
- Date: Thu, 3 May 2007 18:11:42 +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:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=sJMUM+w3jTmzEhJvUDMeYOLikmjN83LxE7R3vZ6NHVg2Sdi1RuClyc7gm8rRKVTXqD4HkI0o/FmUL19x2hqn9KpwrMD+AvyiR1ytl7G/JQiykC6PlvpIhxeTsf/FHtrBbZtNfHoNfwS5UYLh743KOX//GaUCnonj+SkG93x62cM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=on8oV5xTi5M0mnX3blTnSm/cCjBmQHTUyikfTlQiFM9BnObDoChZ2kWZjrL3sH0tW1+pXz2sYeJd/yNFMFQr2KWQQK/c1nSlJRc6sjRA1dbYBvMGjYLiCkpOQKFOfwF4weBQLVr0F1EsUsycMWcrGomSwvsr6DXYh0e+SJOL5bE=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Sender: nikolai.weibull@xxxxxxxxx
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.
Thanks.
nikolai
Messages sorted by:
Reverse Date,
Date,
Thread,
Author