This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: setting directory path within Cygwin profile
- To: Cygwin <cygwin at cygwin dot com>
- Subject: RE: setting directory path within Cygwin profile
- From: Glen Coakley <gcoakley at mqsoftware dot com>
- Date: Tue, 3 Apr 2001 14:24:49 -0500
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@hotmail.com]
> Sent: Tuesday, April 03, 2001 11:24 AM
> To: cygwin@cygwin.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