delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/28/15:03:31

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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.20000828150237.008127e0@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:02:37 -0400
To: cygwin AT sources DOT redhat DOT com
From: Yu Zhang <yxz11 AT psu DOT edu>
Subject: Change command prompt
Mime-Version: 1.0

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.


Thanks.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019