This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: querying cygwin version
On 29/09/2009 16:14, Yaakov (Cygwin/X) wrote:
There are a few options:
* uname -r
* cygcheck -cd cygwin
* Change your PS1 in $HOME/.bash_console.
^^^^^^^
s/console/profile/.
For example:
PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\] \n[1.7]$ '
results in:
Username@COMPUTERNAME PWD
[1.7]$
Yaakov
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple