This seems to have been fixed in bash 3.2, as I can't reproduce this on
feisty.

[EMAIL PROTECTED]:~$export PS1="${debian_chroot:+($debian_chroot)[EMAIL 
PROTECTED]:\w\$ "
[EMAIL PROTECTED]:~$ echo -n "test"
[EMAIL PROTECTED]:~$ 
[EMAIL PROTECTED]:~$ export 
PS1="${debian_chroot:+($debian_chroot)}\[\033[01;[EMAIL 
PROTECTED]:\[\033[01;34m\]\w\[\033[00m\]\$ "
[EMAIL PROTECTED]:~$ echo -n "test"
[EMAIL PROTECTED]:~$ 


** Changed in: bash (Ubuntu)
       Status: Unconfirmed => Confirmed

-- 
"echo -n" doesn't work correctly with a color prompt
https://launchpad.net/bugs/80576

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to