On Friday 08 Aug 2003 17:22, Ernie Schroder wrote:
> I have 2 Gentoo boxes here and #2 has an annoying habbit I can't find
> a solution for. On box #1 an xterm gives me a prompt like so:
> [EMAIL PROTECTED] current_directory $
> Box # 2 shows this same format for a root xterm, but a user xterm
> shows: bash-2.05b$
> Virtual terminals (ctrl+alt+F2-F6) show the former prompt form. IIRC
> this has been answered before, but I'll be dipped if I can find the
> info.

Wasn't it you who blew away his .bashrc recently Ernie?

This is in mine:

source /etc/profile
# Change the window title of X terminals
case $TERM in
        xterm*|rxvt|eterm)
                PROMPT_COMMAND='echo -ne 
"\033]0;[EMAIL PROTECTED]:${PWD/$HOME/~}\007"'
                ;;
        screen)
                PROMPT_COMMAND='echo -ne 
"[EMAIL PROTECTED]:${PWD/$HOME/~}\033\\"'
                ;;
esac

Peter
-- 
==================================================
Gentoo Linux:   Gentoo Base System version 1.4.3.9
kernel-2.4.22_pre2-gss i686 AMD Athlon(tm) XP 1600+
==================================================


--
[EMAIL PROTECTED] mailing list

Reply via email to