This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
AW: PS1
- To: cygwin at sourceware dot cygnus dot com
- Subject: AW: PS1
- From: klaus dot berndl at sdm dot de
- Date: Tue, 30 Jan 2001 18:10:40 +0100
> > 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