Re: [wmii] feature suggestion/is this feature available yet?

From: Bartosz Trudnowski <hrr888_AT_gmail.com>
Date: Sun, 12 Mar 2006 19:47:02 +0100

2006/3/12, David Arroyo <goodluv_AT_gmail.com>:
>
> 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
Received on Sun Mar 12 2006 - 19:47:05 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:01:04 UTC