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

Re: Setting $path variable



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