WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: most canonical place to put your environment variable customizations  (Read 1884 times)

Offline kevinfish

  • Jr. Member
  • **
  • Posts: 72
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

Offline yoshi314

  • Full Member
  • ***
  • Posts: 135
Re: most canonical place to put your environment variable customizations
« Reply #1 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.

Offline kevinfish

  • Jr. Member
  • **
  • Posts: 72
Re: most canonical place to put your environment variable customizations
« Reply #2 on: June 23, 2016, 02:23:11 PM »
so like ~/.bashrc?

Offline yoshi314

  • Full Member
  • ***
  • Posts: 135
Re: most canonical place to put your environment variable customizations
« Reply #3 on: June 24, 2016, 07:36:49 AM »
if you use bash as your default shell, probably.