mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
Display superuser glyph when using fakeroot
This commit is contained in:
parent
750030a110
commit
23fdcb8048
@ -383,7 +383,7 @@ function __bobthefish_prompt_status -S -a last_status -d 'Display symbols for a
|
||||
and set nonzero $__bobthefish_nonzero_exit_glyph
|
||||
|
||||
# if superuser (uid == 0)
|
||||
[ (id -u $USER) -eq 0 ]
|
||||
[ (id -u) -eq 0 ]
|
||||
and set superuser $__bobthefish_superuser_glyph
|
||||
|
||||
# Jobs display
|
||||
|
Loading…
Reference in New Issue
Block a user