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: [PATCH] base-files-4.0.6: Change prompt if running with admin rights


On 2011-04-01, Christian Franke wrote:
The attached patch for /etc/profile and /etc/bash.bashrc sets a root prompt ('#' instead of '$' or '%') if the shell runs with admin rights (local or domain admin group).


Any comment so far? Wrong list ?


If this patch is not accepted:
Would it be possible to change /etc/profile such that PS1 is set before /etc/profile.d scripts are run?
This would allow to change the prompt in a local /etc/profile.d script. This worked with the old base-files 3.9


Thanks,
Christian


-- 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]