Cosmetic shell changes between FC1 and FC3

Alexander Dalloz ad+lists at uni-x.org
Tue Dec 7 20:56:07 UTC 2004


Am Di, den 07.12.2004 schrieb Oliver Day um 21:39:

> You can change your PROMPT_COMMAND environment variable which in FC3 is set to
> PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\007"'

> Oliver

It is

[ "$PS1" = "\\s-\\v\\\$ " ] && PS1="[\u@\h \W]\\$ "

in /etc/bashrc which counts.

What you point to sets the xterm titel in the top window frame. Run

export PROMPT_COMMAND='echo -ne
"\033]0;I_am_a_foo@${HOSTNAME%%.*}:${PWD/#$HOME/~}\007"'

and you will see.

Alexander


-- 
Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.9-1.6_FC2smp 
Serendipity 21:50:19 up 1 day, 21:12, load average: 0.84, 1.03, 1.14 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20041207/0a2e01d2/attachment-0001.sig>


More information about the fedora-list mailing list