This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: bash & $PS1 (display error)


At 20:37 2003-01-31, Rolf Campbell wrote:
My prompt is (from the script below) "PS1='$PWD> '".  All of the
characters are 'printable' and none are \[\] enclosed.

Rolf,

Is 'printable' different than plain old printable?


Anyway, I can repeat this (and other concomitant artifacts, too).

It looks like a bug.

I like current directory feedback, too, but I hate it in the prompt. Putting it in the window title bar is nice, however. If you like that idea, try this or something similar:

PS1=$'\[\e]0; \u :: \W (\w)\a\]\!> '

Randall Schulz

--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]