Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Setting $path variable
- X-seq: zsh-users 370
- From: Bruce Stephens <stephens@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: Setting $path variable
- Date: Mon, 19 Aug 1996 14:55:09 +0200 (MET DST)
- In-reply-to: <199608191250.OAA20626@xxxxxxxxxxxxxx> from "Tomas Gradin" at Aug 19, 96 02:50:46 pm
> >Yes, I think this is a feature, not a bug. You should say
> >"path=($path)" if you want to keep path as an array.
>
> zsh 2.5.0 did not do this. Should we really change this behaviour?
("path=$path" losing arrayness of path.) Don't know. I must confess
it seems more intuitive for a simple assignment of this kind to keep
arrays as arrays, but I assume there are reasons for the current
behaviour. Does this relate in some way to sh_word_split?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author