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

Schiz0 wrote:
> Hey everyone,
> 
> I'm on FreeBSD-6.2-STABLE, using Screen version 4.00.03 (FAU) 23-Oct-06
> 
> I log into my box using PuTTy from a Windows machine. The shell I'm
> using is Bash. The prompt is set via .bash_profile to:
> "[EMAIL PROTECTED] Jun 21 03:32 PM][bash: ~/.irssi/scripts] $"
> (Not that the prompt has colors in it for the username and hostname)
> 
> But when I run "screen," the prompt is:
> "[EMAIL PROTECTED] ~/.irssi/scripts]$"
> With no color.
> 
> For some reason, it seems like screen is going back to the default
> prompt. My .bash_profile is:

<snip>

.bash_profile is only run by login shells. The shell that is first run
when you log in is a login shell; any others are not (including any run
by screen), and will source .bashrc instead. The typical set up is to
place all normal customizations in .bashrc, and have .bash_profile
source .bashrc.

- -Micah
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGe40Y7M8hyUobTrERArZNAJ4vMirkh4CzWXEuSz7RNsIqjtmgdwCeN+NZ
PWZKi+ziQ10nrr0x3VAAgPU=
=qiRM
-----END PGP SIGNATURE-----


_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to