This commit is contained in:
Justin Hileman 2018-02-20 22:15:23 -08:00
parent aa6a8e3c1d
commit e067bba8a4

View File

@ -340,7 +340,7 @@ function __bobthefish_prompt_status -S -a last_status -d 'Display flags for a no
#
# Note that iff the current user is root and '/' is not writeable by root this
# will be wrong. But I can't think of a single reason that would happen, and
# this way is 99.5% faster to check it this way, so that's a tradeoff I'm
# it is literally 99.5% faster to check it this way, so that's a tradeoff I'm
# willing to make.
[ -w / ]
and [ (id -u) -eq 0 ]