The following command came in the /etc/profile that was installed when I
installed Cygwin 1.1.  ^[ = ESC, ^G = BEL

export PS1='^[]0;\w^G
^[[32m\u@\h ^[[33m\w^[[0m
$ '

Adding $HOME in there somewhere would put your login directory in it.

--
Mac :})
Give a hobbit a fish and he'll eat fish for a day.
Give a hobbit a ring and he'll eat fish for an age.
----- Original Message -----
From: "Philip Humeniuk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 03, 2001 9:24 AM
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?



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

Reply via email to