Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Setting $path variable
- X-seq: zsh-users 369
- From: Tomas Gradin <tg@xxxxxxxxxxxxxx>
- To: Bruce Stephens <stephens@xxxxxxxxxxx>
- Subject: Re: Setting $path variable
- Date: Mon, 19 Aug 1996 14:50:46 +0200
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: Your message of "Mon, 19 Aug 1996 13:51:52 +0200." <199608191151.NAA06303@xxxxxxxxxxxxxxxxxxxxx>
>> Is this supposed to happen:
>> Mycomputer % path=$path
>> Mycomputer % echo $PATH
>> /bin /usr/bin /usr/local/bin
>>
>> So $PATH variable gets mangled. Adding something to the end of $path
>> (by path=($path /usr/X11/bin) does not have this effect.
>
>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?
/tg
Messages sorted by:
Reverse Date,
Date,
Thread,
Author