This is the mail archive of the cygwin@sources.redhat.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]

Re: Formatting PS1



> What´s the correct format to make PS1 to display soem parts of it
> (e.g. \u) in another color (lets say blue) and in bold? Where can i
> get the documentation for this? The man-page of bash is not very
> helpful i this task...

You have to embed ANSI escape codes.  Setup should have installed an
/etc/profile that does this by default.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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