RE: Cosmetic shell changes between FC1 and FC3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux