Lennart Borgman wrote: > I do not remember anything about this now, but comparing to my current > PS1 I can see that I has a \] after the last m. I have > > PS1=\[\033[32;47m\w >\033[0m\]
That's incorrect. The \[ and \] are to be used only to delineate nonprinting sequences. If you include "\w >" inside them you will really muck up your prompt if you type a command wider than one screen. PS1="\[\033[32;47m\]\w >\[\033[0m\]" Brian -- 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/