-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Sullivan wrote:
> Nevermind.  I found that I can put my alias command in ~/.bashrc and it
> works fine.  Is this new?  I could have sworn that in Gentoo 2004.3
> aliases went in ~/.bash_profile...

It makes no difference really.  Both are files with bash code that are executed
when sourced.

The only difference, as Ed replied, is that .bash_profile is only sourced for
interactive shells.

Not sure about the others, but I know gnome-terminal can be configured to start
an interactive shell (and thus ~/.bash_profile gets sourced).

HTH
- --
fortune: cpu time/usefulness ratio too high -- core dumped.

Aaron Walker <[EMAIL PROTECTED]>
[ BSD | cron | forensics | shell-tools | commonbox | netmon | vim | web-apps ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCyOFVC3poscuANHARAqZOAKCRB/JUVUfsML5bOl+buPhf3eizYwCeMxyt
tyjHJpAazC8xk4va9XotBYo=
=fUDV
-----END PGP SIGNATURE-----

-- 
gentoo-user@gentoo.org mailing list

Reply via email to