Mick writes:

> On Monday 02 May 2011 11:26:27 you wrote:

> Thanks.  Not sure if there is a difference between an env.d variable and
> a profile.d variable.

None you will notice, both /etc/profile.env and scripts in /etc/profile.d/ 
are sourced in /etc/profile. profile.env contains all stuff in /etc/env.d/ 
after you ran env-update.
I do not manually change things in env.d, but with 'eselect editor set <n>' 
you can create a file /etc/env.d/99editor which will set the EDITOR variable 
to the editor you gave eselect as argument. Enter eselect editor list to se 
what's available, or just give the editor path as argument to eselect.

> I've added mine to /etc/profile.d for now.  I'll
> see what gives when I reboot.

A relogin would be enough. Or '. /etc/profile' in the shell, this is what 
eselects suggests to do. Or bash -l, or xterm -ls.

        Wonko

Reply via email to