$PS1 doesn't appear to work the same after version 1.7

2010-05-03 Thread lynn
I use the following to setup my $PS1 bash prompt: PS1=\[\033]0;\w\007\033[32m\...@\h\[\033[36m \W\033[0m\] This attempts to emit the usern...@hostname current_folder (in color) This still works on my Linux and Solaris boxes. It used to work under Cygwin, but I believe that it began failing

Re: $PS1 doesn't appear to work the same after version 1.7

2010-05-03 Thread Andy Koppe
lynn wrote: I use the following to setup my $PS1 bash prompt: PS1=\[\033]0;\w\007\033[32m\...@\h\[\033[36m \W\033[0m\] This attempts to emit the usern...@hostname current_folder  (in color) You've got the \W and the space before it inside \[...\] which tells readline not to count it towards