Thanks all, i didn't know there were howtos
for such trivial things;)

In .bash_profile/.bashrc put:

case $TERM in
xterm* )
  PROMPT_COMMAND='echo -ne "\033]0;${PWD}\007"' ;;
* ) ;;
esac

Peter McAlpine wrote:
> 
> hi,
> 
> google "I feel lucky" comes through again:
> 
> http://linuxselfhelp.com/HOWTO/Bash-Prompt-HOWTO/xterm-title-bar-manipulations.html
> 
> -peter
> 
> On Mon, Oct 21, 2002 at 11:46:08PM +1000, Russell wrote:
> > Hi all,
> >
> > In .fvwm2rc, when an xterm is opened from a
> > pop-up menu, i want to show the current
> > directory in the xterm title bar. How can i
> > do that?
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to