[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] window title
- Subject: [ale] window title
- From: ivey at gstv.Gsu.EDU (Michael Ivey)
- Date: Wed, 15 Jan 1997 14:35:25 -0500 (EST)
I found this somewhere...it uses escape codes to do it in an xterm...don't
know if it works for rxvt too.
% cat .profile
case $TERM in
xterm)echo "]2;Current directory: `pwd`"
cd()
{
if [ -z "$1" ]; then
builtin cd ~
elif true ; then
builtin cd $1
fi
echo "]2;Current directory: `pwd`"
}
;;
esac
Michael Ivey <ivey at gsu.edu> BOFH, Georgia State Television
Phone: (404) 651-4788 http://gstv.gsu.edu/~ivey
Pager: (404) 485-7662 down, not across
"Did you know that if you're an intellectual, you'll probably end
up in Hell for it?" -Rev. Jonathon Bell