how to change the prompt in Cygwin

sun pythonsun@gmail.com
Sat Jan 5 16:15:00 GMT 2008


Got it, thanks.

On 1/5/08, Greg Chicares <gchicares@sbcglobal.net> wrote:
> On 2008-01-05 04:26Z, sun wrote:
> >
> > Could you please help on how to remove the path display in my Cygwin?
> > It looks like following and I don't like it:
> >
> > user@mymachien /cygdrive/c/Documents and Settings/Desktop
> > $
> >
> > I want to change to
> >
> > user@mymachien$
>
> Add a line like
>  export PS1='\u$'
> to file '~/.bashrc'. If you want to customize it more, do
>  man bash
> and look for special characters used in PS1.
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list