Update fish prompt with lotus emoji and remove the x from unclean git repo.

This commit is contained in:
Shawn Anderson 2022-10-27 13:40:35 -07:00
parent fd1110739f
commit dd404a2140
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ function fish_prompt
set -l git_branch '[' (_git_branch_name) ']' set -l git_branch '[' (_git_branch_name) ']'
if [ (_is_git_dirty) ] if [ (_is_git_dirty) ]
set git_info $red $git_branch "×" set git_info $red $git_branch
else else
set git_info $cyan $git_branch set git_info $cyan $git_branch
end end
@ -50,7 +50,7 @@ function fish_prompt
if [ (id -u) = "0" ]; if [ (id -u) = "0" ];
set indicate '#' set indicate '#'
else else
set indicate '🏂' set indicate '🪷'
end end
echo -n -s $blue " $indicate " $normal echo -n -s $blue " $indicate " $normal
end end