delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/03/16:53:08

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: <003e01c0bc78$580c4370$c732273f@ca.boeing.com>
From: "Michael A. Chase" <mchase AT ix DOT netcom DOT com>
To: "Philip Humeniuk" <phumes1 AT hotmail DOT com>, <cygwin AT cygwin DOT com>
References: <F114r8pkpLkTgbLYluL000119e7 AT hotmail DOT com>
Subject: Re: setting directory path within Cygwin profile
Date: Tue, 3 Apr 2001 12:55:38 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

The following command came in the /etc/profile that was installed when I
installed Cygwin 1.1.  ^[ = ESC, ^G = BEL

export PS1='^[]0;\w^G
^[[32m\u@\h ^[[33m\w^[[0m
$ '

Adding $HOME in there somewhere would put your login directory in it.

--
Mac :})
Give a hobbit a fish and he'll eat fish for a day.
Give a hobbit a ring and he'll eat fish for an age.
----- Original Message -----
From: "Philip Humeniuk" <phumes1 AT hotmail DOT com>
To: <cygwin AT cygwin DOT com>
Sent: Tuesday, April 03, 2001 9:24 AM
Subject: Re: setting directory path within Cygwin profile


> How would I go about setting the prompt to be the login directory path
using
> "export PS1=" within the C:\cygwin\etc\profile?



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