On Friday 08 August 2003 03:18 pm, Peter Ruskin wrote:
> 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
GUILTY! but that was the other box I will check this but for now I have
fixed things by aliasing xterm to xterm -ls
Thanks all who helped
--
Regards, Ernie
100% Microsoft and Intel free
--
[EMAIL PROTECTED] mailing list