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


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


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