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

Re: Where to put environment variables?



On Thursday 27 February 2003 10:58 pm, Joao Pedro Clemente wrote:
>What is the correct way to add environment variables then?

Here's my setup...

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
	. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin
BASH_ENV=$HOME/.bashrc

export USERNAME BASH_ENV PATH

=====

Regards,

Jeff Elkins
http://www.elkins.org



Reply to: