That does not work for ssh/scp sessions. I usually test $PS1 to tell
if it's really a shell -- the variable does not even exist for an scp session,although .bashrc gets called.
can you give us an example of what your .bashrc looks like? -- gentoo-user@gentoo.org mailing list