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

Setting $path variable



Is this supposed to happen:

Mycomputer % echo $path
/bin /usr/bin /usr/local/bin
Mycomputer % echo $PATH
/bin:/usr/bin:/usr/local/bin
Mycomputer % path=$path
Mycomputer % echo $path
/bin /usr/bin /usr/local/bin
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.


-- 

	Juha Leskela




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