Update fish_prompt.fish

pull/220/head
Luca Filipozzi 5 years ago committed by GitHub
parent 99b48d565c
commit 9cb593e4fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -416,7 +416,7 @@ function __bobthefish_prompt_status -S -a last_status -d 'Display flags for a no
# will be wrong. But I can't think of a single reason that would happen, and
# it is literally 99.5% faster to check it this way, so that's a tradeoff I'm
# willing to make.
[ -w / ]
[ -w / -o -w /private/ ]
and [ (id -u) -eq 0 ]
and set superuser 1

Loading…
Cancel
Save