delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/01/11:01:28

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
Date: Wed, 1 Nov 2000 09:57:57 -0500
Message-Id: <200011011457.JAA23045@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: klaus DOT berndl AT sdm DOT de
CC: cygwin AT sources DOT redhat DOT com
In-reply-to: <C9A98ED35114D31197D000805FEA668E0176E527@mucexch.muc.sdm.de>
(klaus DOT berndl AT sdm DOT de)
Subject: Re: Formatting PS1
References: <C9A98ED35114D31197D000805FEA668E0176E527 AT mucexch DOT muc DOT sdm DOT de>

> What´s the correct format to make PS1 to display soem parts of it
> (e.g. \u) in another color (lets say blue) and in bold? Where can i
> get the documentation for this? The man-page of bash is not very
> helpful i this task...

You have to embed ANSI escape codes.  Setup should have installed an
/etc/profile that does this by default.

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