Re: I'm really confused by bash, .bashrc, .bash_profile, .profile, etc, etc, etc
mwright@pro-ns.net ("Mark Wright") writes:
> Is there a good system for setting variables, aliases, etc that need to be
> set for user X, whether I log in at a login prompt or using su? I'm
> confused by all the different .profile options (there are at least 3 for
> bash, why is that?)
>
> Mark.
What works for me.
.bash_profile has only a few things in it.
Mostly setting up the path.
The last line sources .bashrc
.bashrc has all my alias's, functions, and most environment
variables.
.xsession sources .bash_profile before running anything else
--
/*********************** Running Debian Linux ***********************
* For God so loved the world that He gave his only begotten Son, *
* that whoever believes in Him should not perish... John 3:16 *
* W. Paul Mills * Topeka, Kansas, U.S.A. *
* EMAIL= Paul@Mills-USA.com * WWW= http://Mills-USA.com/ *
* Bill, I was there several years ago, why would I want to go back? *
************* pgp public key on keyservers everywhere? *************/
Reply to: