How to make terminal "title" to be set dynamically to pwd
Christian Dywan
christian at twotoasts.de
Wed Sep 14 10:37:14 CEST 2011
Am 14.09.2011 09:34, schrieb François Colonna:
> I did not find out how to make any terminal "title" to be set
> dynamically to the result of pwd command.
Hey François,
you can solve that in bash for example like this:
PS1="\[\e]0;\w$hostname\a\]$PS1"
I suggest you read up on setting the prompt for your favourite command
interpreter, this is not specific to Xfce.
ciao,
Christian
More information about the Xfce
mailing list