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

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: <E1B42CFD544FD31193EE0000E87C5CE799B4B6@mailserver2.mqsoftware.com>
From: Glen Coakley <gcoakley AT mqsoftware DOT com>
To: Cygwin <cygwin AT cygwin DOT com>
Subject: RE: setting directory path within Cygwin profile
Date: Tue, 3 Apr 2001 14:24:49 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

This depends on the shell you are using.

Assuming you are using bash:

	export PS1=\w


For more information

	man bash

search for PROMPT
________________________________
Glen Coakley, Sr. Software Engineer
MQSoftware Inc., (763) 543-4845
Have you ever wonder what happens when you run "rm -rf / " but been afraid
to try it?


> -----Original Message-----
> From: Philip Humeniuk [mailto:phumes1 AT hotmail DOT com]
> Sent: Tuesday, April 03, 2001 11:24 AM
> To: cygwin AT cygwin DOT com
> 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?
> 
> 
> 
> 
> ______________________________________________________________
> ___________
> Get Your Private, Free E-mail from MSN Hotmail at 
http://www.hotmail.com.


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

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