AW: PS1

klaus.berndl@sdm.de klaus.berndl@sdm.de
Tue Jan 30 09:13:00 GMT 2001


> > 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.
> 

Hmm, i have tried it, but it only gives me a brighter green, not a bold
one. But maybe i have misplaced it in the string, because i don´t know
excatly what all the backslashes and codes mean. Exists there a info-file or
something similar where i can find such informations?

If it is not to much effort for you, it would be really very nice, if you
could place the bolds right in my string or maybe shortly explain the 
different parts of my PS1 setting (i admit, i have stolen this one :-)

Thank you in advance!
Klaus

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



More information about the Cygwin mailing list