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

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
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3ACA296C.2E9E6651@yahoo.com>
Date: Tue, 03 Apr 2001 14:50:04 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Philip Humeniuk <phumes1 AT hotmail DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: setting directory path within Cygwin profile
References: <F114r8pkpLkTgbLYluL000119e7 AT hotmail DOT com>

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

That depends on the shell!!  export PS1=" within the \$pwd> " will work
for most shells but not all.  /bin/sh will not do the variable
substitution, PS1 must be constant for /bin/sh.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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