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: PS1



> export PS1='\[\033]0;\w\007\033[32m\][\s-\v] \[\033[32m\w\033[0m\]\n> '
> 
> which gives me a nice prompt in green in the format:
>   [bash-2.04] ~/path
>   >
> 
> Is there a way to make the same prompt in bold??

\[[1m causes bold.  You can mix it with colors like \[[1;32m
\[[0m resets it.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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