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

Re: Ideal place to set environment variables

My domain is slsware.*, and I run bash.

Therefore I created /etc/sls/ and wrote a little script in that
directory called slswaredefs.sh and sourced it near the bottom of
everybody's .bashrc.

For more/other shells, write in Perl/Python and switch on shell in the
list of of environment variables going into the login file (haven't
tried that). Or maybe write a bunch of little scripts in the shell's
script language for different shells.

Works good, so far...

Glenn English

Reply to: