2006/3/12, David Arroyo <[EMAIL PROTECTED]>:
I think tagbars are in the works, where you'll be able to edit the
text in the titlebar directly, which should be convenient for
arbitrary tagging. But yea, you should look into setting the
title with your shell. Zsh has the ability to put the currently
running command in the titlebar. I don't know if this can be
replicated in bash. Right now I have the following in my .bashrc:

PROMPT_COMMAND='echo -ne "\033]0;${PWD}/-${HOSTNAME}\007"; '

Which will put '/current/working/dir/-hostname' in the title.

Most of (linux) terminal emulators understand this escape sequence. To send it from bash you can use PROMPT_COMMAND, or set it as a part of PS1 variable. Some practical infos are here: http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/

hrr
_______________________________________________
[email protected] mailing list
http://wmii.de/cgi-bin/mailman/listinfo/wmii

Reply via email to