setting directory path within Cygwin profile

Earnie Boyd earnie_boyd@yahoo.com
Tue Apr 3 12:50:00 GMT 2001


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



More information about the Cygwin mailing list