This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: setting directory path within Cygwin profile



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]