Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <3.0.5.32.20000828151657.007e5100@email.psu.edu> X-Sender: yxz11 AT email DOT psu DOT edu X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Mon, 28 Aug 2000 15:16:57 -0400 To: cygwin AT sources DOT redhat DOT com From: Yu Zhang Subject: Re: Change command prompt In-Reply-To: <20000828190802.17965.qmail@web108.yahoomail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Thanks for everyone replied, the problem is caused by the '\r' in .bashrc. At 12:08 PM 08/28/2000 -0700, Earnie Boyd wrote: >--- Yu Zhang wrote: >> Hello there: >> >> I tried to change command prompt by putting "export PS1='`cygpath -w >> \w`>'"(no double quotation marks) in ~/.bashrc. The prompt changed but the >> cursor is moved to the first column. However, if I execute "export >> PS1='`cygpath -w \w`>'", then everything is fine. What did I do wrong and >> what should I do to change command prompt. >> > >Make sure that the .bashrc file has UNIX style line endings. > >cp .bashrc .bashrc.old >tr -d '\r' < .bashrc.old > .bashrc > >Cheers, > >===== >--- > Earnie Boyd: > __Cygwin: POSIX on Windows__ >Cygwin Newbies: > __Minimalist GNU for Windows__ > Mingw32 List: > Mingw Home: > >__________________________________________________ >Do You Yahoo!? >Yahoo! Mail - Free email you can access from anywhere! >http://mail.yahoo.com/ > >-- >Want to unsubscribe from this list? >Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com > > > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com