diff --git a/fish_prompt.fish b/fish_prompt.fish index 3c2cd4d..d248022 100644 --- a/fish_prompt.fish +++ b/fish_prompt.fish @@ -404,7 +404,12 @@ function __bobthefish_prompt_status -S -a last_status -d 'Display symbols for a if [ "$superuser" ] 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 end