[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/environment (related with bug #28446)



Wichert Akkerman writes ("Re: /etc/environment (related with bug #28446)"):
> Previously Ian Jackson wrote:
> > I think that it should be a (POSIX) sh script fragement.
> 
> I disagree, since that would mean it is useless for people who use a
> different shell. And I happen to like tcsh..

This is not true.  login could arrange to call your login shell after
sourcing /etc/environment, using something like
   execlp("sh","sh","-c",". /etc/environment; exec -l $SHELL",(char*)0);

Ian.


Reply to: