Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Is a pristine shell allowed to set HOME? (fwd)
- X-seq: zsh-workers 22204
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: Re: Is a pristine shell allowed to set HOME? (fwd)
- Date: Wed, 08 Feb 2006 10:23:48 +0000
- In-reply-to: <1060208021032.ZM2116@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <Pine.LNX.4.64.0602051243550.4756@xxxxxxxxxxxxxxxxxx> <EXCHANGE03rVqCAHPF60000a3e3@xxxxxxxxxxxxxxxxxx> <1060206185149.ZM20514@xxxxxxxxxxxxxxxxxxxxxxx> <EXCHANGE03E48bLKWGT0000a740@xxxxxxxxxxxxxxxxxx> <1060208021032.ZM2116@xxxxxxxxxxxxxxxxxxxxxxx>
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