added support for sudo group for systems that use it instead of wheel
parent
cfcaad3bbe
commit
d503b20ae0
|
@ -51,7 +51,7 @@ PROMPT_COMMAND="PS1=\"[\[\e[03$(
|
|||
then
|
||||
echo '1;02m'
|
||||
else
|
||||
if [ -n "$(groups | grep 'wheel')" ];
|
||||
if [ -n "$(groups | grep 'wheel\|sudo')" ];
|
||||
then
|
||||
echo '2;01m'
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue