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

Re: Is a pristine shell allowed to set HOME? (fwd)



Bart Schaefer wrote:
> Was anything but the part in params.c (*) necessary?  Why would it
> hurt to set the internal "home" variable, but ignore it when not in
> zsh emulation?

The internal code uses "home" without reference to the actual parameter
(in particular, whether it's actually set), so it would appear in some
places as if $HOME was set after all.  Or, to put it another way, the
catch is in the "ignore it when not in zsh emulation"---that's
significantly more complicated than not setting it in the first places
as well as being less consistent.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


To access the latest news from CSR copy this link into a web browser:  http://www.csr.com/email_sig.php



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