Article View: news.software.readers
Article #135879[OT] Display command on term's title bar (was: Re: [tin] screenshots available?)
From: Matt
Date: Tue, 21 Oct 2003 16:48
Date: Tue, 21 Oct 2003 16:48
26 lines
2324 bytes
2324 bytes
On 11 Oct 2003 11:40:14 -0500,
Rachel <tic@toc.com> wrote:
> Hey there! I noticed you're using iTerm on Mac OS X. How did you
> get the process name in the title?
Here's a tip for having the current command displayed on tab's title
(assuming you're using Zsh as your shell).
Put this in your ~/.zshrc:
case $TERM in
xterm*)
preexec () {
print -Pn "\e]0;$1\a"
}
;;
esac
PS. fu2 to poster as this is a bit off topic.
--
Et tes réflexions virtuelles ne t'ont pas amenées à penser que peut être
l'erreur pouvait eventuellement (...), mélé à une conjonction d'Alpha du
Centaure et du moulin à café de ma grand-mère que TU t'y prenais mal ?
JF in Guide du Macounet Pervers : Ne pas jeter le manche après la cognée
Technical Details
Message-ID:
<bn3o0t$t6spt$1@ID-207786.news.uni-berlin.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed1.easynews.com!easynews.com!easynews!newsfeed.hal-mli.net!feeder2.hal-mli.net!in.100proofnews.com!in.100proofnews.com!fu-berlin.de!uni-berlin.de!aneuilly-109-1-9-215.w81-50.abo.wanadoo.FR!not-for-mailReferences:
<Xns940E6B94B2D54petitalexicathscouk@news-60.giganews.com> <bm2eg2$hfm6h$1@ID-207786.news.uni-berlin.de> <slrnbogcf9.9ar.tic@toc.com>Show Full Headers
Complete Article Headers
Message-ID: <bn3o0t$t6spt$1@ID-207786.news.uni-berlin.de>
Subject: [OT] Display command on term's title bar (was: Re: [tin] screenshots available?)
Date: Tue, 21 Oct 2003 16:48:30 +0000
From: Matt <sbehzf@syrius.org>
References: <Xns940E6B94B2D54petitalexicathscouk@news-60.giganews.com> <bm2eg2$hfm6h$1@ID-207786.news.uni-berlin.de> <slrnbogcf9.9ar.tic@toc.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed1.easynews.com!easynews.com!easynews!newsfeed.hal-mli.net!feeder2.hal-mli.net!in.100proofnews.com!in.100proofnews.com!fu-berlin.de!uni-berlin.de!aneuilly-109-1-9-215.w81-50.abo.wanadoo.FR!not-for-mail
Newsgroups: news.software.readers
Followup-To: poster
Organization: ~/
Lines: 26
Reply-To: forums@syrius.org
NNTP-Posting-Host: aneuilly-109-1-9-215.w81-50.abo.wanadoo.fr (81.50.59.215)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de 1066754910 30634813 81.50.59.215 (16 [207786])
X-Orig-Path: not-for-mail
X-No-Archive: Yes
X-Face: &`Bm$~9_}AE$m42kf; ,wEQM3l}rC<"mYt3LF8V<mcEYC$HF"iV&K5$)3G=\l14m`;
'Cj"].y,e,tALKVO}-S$G-^$Ak%-(puYkLo4e:z#Kxa*@jJ0Vqj$>Ex&'(
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (Darwin/6.8 (Power Macintosh))