Mail Archives: cygwin-developers/2001/10/26/14:35:02
On Fri, Oct 26, 2001 at 02:07:28PM -0400, Christopher Faylor wrote:
> On Fri, Oct 26, 2001 at 08:01:03PM +0200, Corinna Vinschen wrote:
> >I like that idea.
> >
> >Should we add these lines to the generated profile?
>
> Doesn't bash do this for you automatically, somehow?
> Having /etc/profile do this for you seems wrong.
Setting HOME is the job of the login process (login/sshd, etc.)
No shell sets HOME by itself even if it's started as login shell.
Worst case is tcsh, which doesn't even start if HOME isn't set.
The workaround to set it in /etc/profile does fortunately work
for bash.
The other solution (if you think /etc/profile is too ugly) would
be to set HOME in cygwin.bat if it isn't already set.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin AT cygwin DOT com
Red Hat, Inc.
- Raw text -