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: <20000828190802.17965.qmail@web108.yahoomail.com> Date: Mon, 28 Aug 2000 12:08:02 -0700 (PDT) From: Earnie Boyd Subject: Re: Change command prompt To: Yu Zhang , cygwin AT sources DOT redhat DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- 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