Hi there
My PROMPT_COMMAND is still funky with screen & gnome-terminal. This
almost works:
"""
[EMAIL PROTECTED]:~$ echo $PROMPT_COMMAND
echo -ne "[EMAIL PROTECTED]:${PWD/#$HOME/~}\033\\
[EMAIL PROTECTED]:${PWD/$HOME/~}\033\\"
"""
Unfortunately that space at the beginning screws things up, beca
Hi all
Looks like this works, to set the terminal title and screen window title:
PROMPT_COMMAND='echo -ne
"[EMAIL PROTECTED]:${PWD/#$HOME/~}\033\\
[EMAIL PROTECTED]:${PWD/$HOME/~}\033\\"'
It doesn't work without the space between the two parts (i.e. the
space after the first \\).
--
jean
Hi all
I've had this in my ~/.bashrc for ages, but now I've switched from
xterm to gnome-terminal:
screen)
PROMPT_COMMAND='echo -ne
"[EMAIL PROTECTED]:${PWD/$HOME/[EMAIL PROTECTED]:${PWD/$HOME/~}\033\134\033"'
;;
Instead of a nice coloured prompt I get:
[EMAIL PROTECTED]:~$
The text I e