mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-03 15:40:32 +00:00
Merge pull request #97 from detecti1/master
This commit is contained in:
commit
e4f228b6a0
@ -43,6 +43,7 @@ function fish_prompt
|
||||
|
||||
# Prompt
|
||||
set -l prompt
|
||||
set -l UID (id -u $USER)
|
||||
if [ "$UID" = "0" ]
|
||||
set prompt "$red# "
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user