Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: xterm title/screen title+hardstatus



Bart Schaefer wrote:

> ...
> 
> When you do this:
> 
> 	spl=${(z)cmd}
> 
> The type of `spl' is a string if ${(z)cmd} is a string, or an array if
> ${(z)cmd} is an array.  It just happens that when $cmd has only one word,
> ${(z)cmd} is a string, and otherwise it's an array.  That's probably not
> intentional -- most likely (z) should always return a (maybe one-element)
> array.

It is intentional -- directly modelled after (s...).  But it's easy to 
change (removing lines 1800/01 in subst.c), should I?

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author