[PATCH] base-files-4.0.9: Change prompt if running with admin rights

Christian Franke Christian.Franke@t-online.de
Mon Feb 27 18:12:00 GMT 2012


This is an updated version of:
http://cygwin.com/ml/cygwin/2011-04/msg00020.html
Uses the detection method suggested here:
http://cygwin.com/ml/cygwin/2011-04/msg00372.html

Tested with bash, dash, mksh, posh, and zsh (with symlink /etc/zprofile 
-> profile) on cygwin 1.7.11-1 and Win7 x64.

OT: posh -l does not execute /etc/profile by default. Bug?

Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: base-files-4.0-9-rootprompt.patch
Type: text/x-patch
Size: 2021 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20120227/341d30ce/attachment.bin>
-------------- next part --------------
--
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