PS1='\[[02;34m\]$PWD\[[02;33m\]>\[[0m\] ' There are some literal escape chars in that...
I get a colored prompt like this: /home/rcampbell>
if I type t<tab><tab>, then I see a list of possible completions, and:
/home/rcampbell> t t ^^ These 2 characters have magically appeared, and are not erasable.
Sam Steingold wrote:
PS1="\[\e[33;1m\]\t\[\e[m\] \[\e[36;1m\]\w [\#]\\$\[\e[m\] " there are two spaces after "$", not one as it should be (and as it was with bash-2.05b-13 and on all the other unixes).
another manifestation of the same bug: when the command line is folded, it folds one extra line.
apparently, the prompt output code prints one extra space which it does not account for internally.
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/