From owner-freebsd-questions Tue Jan 23 2:21: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from zugzug.hq.newdream.net (zugzug.hq.newdream.net [216.246.35.10]) by hub.freebsd.org (Postfix) with SMTP id C143137B699 for ; Tue, 23 Jan 2001 02:20:48 -0800 (PST) Received: (qmail 2192 invoked from network); 23 Jan 2001 10:20:48 -0000 Received: from aura.infinitejazz.net (HELO hq.newdream.net) (206.111.89.244) by zugzug.hq.newdream.net with SMTP; 23 Jan 2001 10:20:48 -0000 Message-ID: <3A6D5AC7.BDE7B590@hq.newdream.net> Date: Tue, 23 Jan 2001 02:19:51 -0800 From: Will Yardley X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 4.2-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: questions@freebsd.org Subject: zsh / Eterm titlebars Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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