Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: xterm title setting
- X-seq: zsh-workers 13292
- From: Ollivier Robert <roberto@xxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: xterm title setting
- Date: Mon, 18 Dec 2000 11:16:37 +0100
- In-reply-to: <200012181004.LAA99550@xxxxxxxxxxxxxxxxxxxxxxxxx>; from jarausch@xxxxxxxxxxxxxxxxxxx on Mon, Dec 18, 2000 at 11:04:06AM +0100
- Mail-followup-to: zsh-workers@xxxxxxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <200012181004.LAA99550@xxxxxxxxxxxxxxxxxxxxxxxxx>
According to jarausch@xxxxxxxxxxxxxxxxxxx:
> Maybe the print -Pn doesn't get where it's assumed to.
I use this:
-=-=-
if [ x$TERM != x ]; then
if [ $TERM = xterm -o $TERM = xterm-color ]; then
chpwd() {
print -n -P "\033]2;%n@%M:%/ - tty%l\007\033]1;tty%l@%m\007"
}
fi
PS1="%h [%T] %B%n%b@%m:%B%2.%(#.#.>)%b "
export PS1
-=-=-
--
Ollivier ROBERT -=- Eurocontrol EEC/ITM -=- roberto@xxxxxxxxxxxxxx
The Postman hits! The Postman hits! You have new mail.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author