Date: Tue, 23 Jan 2001 02:19:51 -0800 From: Will Yardley <william@hq.newdream.net> To: questions@freebsd.org Subject: zsh / Eterm titlebars Message-ID: <3A6D5AC7.BDE7B590@hq.newdream.net>
next in thread | raw e-mail | index | archive | help
when i use bash, i have a bit in my bash_profile that puts some info in the Eterm titlebar. I do the same thing with zsh with the following code: export TERM=xterm fi chpwd() { [[ -t 1 ]] || return case $TERM in xterm) print -Pn "\e]2;%n@%m %~ %l %W\a" ;; esac } however unlike bash, when i return from another machine the titlebar stuff doesn't switch back. anyone have any idea how to do this? =will To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A6D5AC7.BDE7B590>