X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <73b111e10801042245w7a7c0e47id5be4ea85327d7d4@mail.gmail.com> Date: Sat, 5 Jan 2008 14:45:23 +0800 From: sun To: cygwin AT cygwin DOT com Subject: Re: how to change the prompt in Cygwin In-Reply-To: <477F1469.6020208@sbcglobal.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <73b111e10801042021q40fc54e4ydc8d67b7fc687035 AT mail DOT gmail DOT com> <73b111e10801042024r792293c8w12919b3528285eec AT mail DOT gmail DOT com> <73b111e10801042026yae98af8m9e37e09a74cadb37 AT mail DOT gmail DOT com> <477F1469 DOT 6020208 AT sbcglobal DOT net> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Got it, thanks. On 1/5/08, Greg Chicares 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 AT mymachien /cygdrive/c/Documents and Settings/Desktop > > $ > > > > I want to change to > > > > user AT 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/