On Sun, Aug 22, 2004 at 02:41:54PM -0400, John Lowell wrote:
> Marc Wilson wrote:
> export PS1='\033[1;31m\]\h:\w\$\033[0;37m\] '

I_HATE_MBOX From the Bash Manual:

# `\['
#      Begin a sequence of non-printing characters.  This could be used to
#      embed a terminal control sequence into the prompt.
# 
# `\]'
#      End a sequence of non-printing characters.

corrected prompt:
export PS1='\[\033[1;31m\]\h:\w\$\[\033[0;37m\] '


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to