delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/23/15:32:13

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <42BB0F1E.1B8541E5@dessent.net>
Date: Thu, 23 Jun 2005 12:35:58 -0700
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Bash Command History Scroll Back Problem with Multi-line Commands
References: <d9etbf$oeh$2 AT sea DOT gmane DOT org> <42BB0603 DOT 20745D88 AT dessent DOT net> <d9f0dr$23e$1 AT sea DOT gmane DOT org>
X-Spam-Report: -5.9/5.0 ---- Start SpamAssassin results * -3.3 ALL_TRUSTED Did not pass through any untrusted hosts * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] * 0.0 AWL AWL: From: address is in the auto white-list ---- End SpamAssassin results
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

ImranKhan wrote:

> Yup, thanks guys, I found out the exact source is the prompt setting:
> 
> This does not work:  export PS1="\e[32m\w$\e[0m "

Change this to:

export PS1="\[\e[32m\]\w$\[\e[0m\] "

--
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/

- Raw text -


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