mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
Use a different glyph color when using fakeroot
This commit is contained in:
parent
23fdcb8048
commit
cb6bb0ecb3
@ -404,7 +404,12 @@ function __bobthefish_prompt_status -S -a last_status -d 'Display symbols for a
|
|||||||
|
|
||||||
if [ "$superuser" ]
|
if [ "$superuser" ]
|
||||||
set_color normal
|
set_color normal
|
||||||
set_color -b $__color_initial_segment_su
|
if [ -z "$FAKEROOTKEY" ]
|
||||||
|
set_color -b $__color_initial_segment_su
|
||||||
|
else
|
||||||
|
set_color -b $__color_initial_segment_exit
|
||||||
|
end
|
||||||
|
|
||||||
echo -n $__bobthefish_superuser_glyph
|
echo -n $__bobthefish_superuser_glyph
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user