delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/30/11:32:40

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: Tue, 30 Jan 2001 11:26:29 -0500
Message-Id: <200101301626.LAA21626@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 sourceware DOT cygnus DOT com
In-reply-to: <C9A98ED35114D31197D000805FEA668E027B18F8@mucexch.muc.sdm.de>
(klaus DOT berndl AT sdm DOT de)
Subject: Re: PS1
References: <C9A98ED35114D31197D000805FEA668E027B18F8 AT mucexch DOT muc DOT sdm DOT de>

> export PS1='\[\033]0;\w\007\033[32m\][\s-\v] \[\033[32m\w\033[0m\]\n> '
> 
> which gives me a nice prompt in green in the format:
>   [bash-2.04] ~/path
>   >
> 
> Is there a way to make the same prompt in bold??

\[[1m causes bold.  You can mix it with colors like \[[1;32m
\[[0m resets it.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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