Tiny Core Linux

dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => Topic started by: kevinfish on June 22, 2016, 05:30:01 PM

Title: most canonical place to put your environment variable customizations
Post by: kevinfish on June 22, 2016, 05:30:01 PM
Hi,

Can someone please tell me where I should put my customizations?

For example, if I want to start emacs as a server or alter my path?

Should I do it in .bashrc?   .profile?  Somewhere else?

I'd like these to be available to programs that don't necessarily run from the shell.

TIA,
-Kevin
Title: Re: most canonical place to put your environment variable customizations
Post by: yoshi314 on June 23, 2016, 02:27:55 AM
my guess is either your shell .rc file for user's settings or /opt/bootlocal.sh for system services.
Title: Re: most canonical place to put your environment variable customizations
Post by: kevinfish on June 23, 2016, 02:23:11 PM
so like ~/.bashrc?
Title: Re: most canonical place to put your environment variable customizations
Post by: yoshi314 on June 24, 2016, 07:36:49 AM
if you use bash as your default shell, probably.