setting directory path within Cygwin profile

Glen Coakley gcoakley@mqsoftware.com
Tue Apr 3 12:25:00 GMT 2001


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


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /