mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-02-21 23:54:25 +08: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…
x
Reference in New Issue
Block a user