This is the mail archive of the cygwin 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]
Other format: [Raw text]

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


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