how to change the prompt in Cygwin
Greg Chicares
gchicares@sbcglobal.net
Sat Jan 5 15:44:00 GMT 2008
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/
More information about the Cygwin
mailing list