[GLLUG] bash madness

Brian Hoort hoortbri@msu.edu
Fri, 19 Jul 2002 15:42:21 -0500

I've been trying to customize my bash shell prompt. When I do an export 
PS1... it works fine, obviously. However, when I set it in .bashrc and 
re-login it does not take effect. A look at .bashrc reveals that:

# ~/.bashrc: executed by bash(1) for non-login shells.

So I presume that logging in is a login shell.

1) What is a login shell as opposed to a non-login shell;
2) So why is there a .bashrc if it's not going to be run.
3) Where do I set PS1, if not in .bashrc