Use a different glyph color when using fakeroot

This commit is contained in:
LaurentTreguier 2017-02-27 20:44:01 +01:00 committed by GitHub
parent 23fdcb8048
commit cb6bb0ecb3

View File

@ -404,7 +404,12 @@ function __bobthefish_prompt_status -S -a last_status -d 'Display symbols for a
if [ "$superuser" ]
set_color normal
if [ -z "$FAKEROOTKEY" ]
set_color -b $__color_initial_segment_su
else
set_color -b $__color_initial_segment_exit
end
echo -n $__bobthefish_superuser_glyph
end