zsh-workers
 help / color / mirror / code / Atom feed
* compadd -qS' ' should escape the space
@ 2007-05-03 16:11 Nikolai Weibull
  2007-05-07  5:44 ` Bart Schaefer
  2007-05-09 20:09 ` Nikolai Weibull
  0 siblings, 2 replies; 4+ messages in thread
From: Nikolai Weibull @ 2007-05-03 16:11 UTC (permalink / raw)
  To: Zsh hackers list

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-05-09 20:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-03 16:11 compadd -qS' ' should escape the space Nikolai Weibull
2007-05-07  5:44 ` Bart Schaefer
2007-05-07  7:50   ` Nikolai Weibull
2007-05-09 20:09 ` Nikolai Weibull

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).