Re: color prompts
On Wed, Jul 15, 1998 at 09:19:41PM -0400, stick@richnet.net wrote:
<stuff deleted>
>
> BTW, I also set the following for xterms:
>
> PROMPT_COMMAND='echo -ne "\033]2;$TERM: $USER@$HOSTNAME:/$PWD/
\007\033]1;$PWD\007"
>
> This changes the title bar of my xterm to show user, host and cwd.
>
The PROMPT_COMMAND line is missing the closing ' after the " so it should
be:
PROMPT_COMMAND='echo -ne "\033]2;$TERM: $USER@$HOSTNAME:/$PWD/
\007\033]1;$PWD\007"'
Wouldn't want someone to be lost trying a command that replies with a >
prompt :-)
Pat
--
Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
Reply to: