...
This commit is contained in:
parent
06ce2012e4
commit
411fe764c3
1 changed files with 2 additions and 1 deletions
|
@ -20,11 +20,12 @@ function fish_prompt --description "Write out the prompt"
|
|||
set_color yellow
|
||||
fish_git_prompt
|
||||
echo
|
||||
set_color red
|
||||
|
||||
if test "$USER" = root
|
||||
set_color red
|
||||
echo -n '# '
|
||||
else
|
||||
set_color yellow
|
||||
echo -n '$ '
|
||||
end
|
||||
set_color normal
|
||||
|
|
Loading…
Reference in a new issue