This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: how to change the prompt in Cygwin


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/


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