Title of tha Xfterm [4.0.6]
Gerald Barre
g.barre at free.fr
Wed Nov 3 00:26:07 CET 2004
Le Tue, 02 Nov 2004 11:42:56 +0100
Rakotomandimby Mihamina <mihamina at mail.rktmb.org> s'exprimait:
Hi,
> I use zsh ...
> Is the 'printf ...' the way to set it ?
With bash, you can set it in your .bashrc file:
# If this is an xterm set the title to user at host:dir
#case $TERM in
#xterm*)
# PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
# ;;
#*)
# ;;
#esac
with the prompt_command, you should find the same thing for zsh.
More information about the Xfce
mailing list