querying cygwin version

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Tue Sep 29 21:24:00 GMT 2009


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



More information about the Cygwin mailing list