[openbox] openbox focus wish list

Mike logan at dct.com
Wed Oct 8 14:41:41 EDT 2003



On Wednesday, October 08, 2003 at 08:13AM, Bobby R. Cox wrote:
>On Wed, 2003-10-08 at 11:51, Robert Upshall wrote:
>> On Tue, 2003-10-07 at 11:25, Brett Campbell wrote:
>
># Change the window title of X terminals 
>case $TERM in
>        xterm*|rxvt|Eterm|eterm)
>               PROMPT_COMMAND='echo -ne
>"\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
>        ;;
>    screen)
>               PROMPT_COMMAND='echo -ne
>"\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
>        ;;
>esac

I can see a special case for screen, but is there a reason why you don't just use $PS1 instead of going through all of the above?

PS1="\[\033];\u@\h:\w\[\007\]\$ "



More information about the openbox mailing list