Update fish prompt with lotus emoji and remove the x from unclean git repo.
This commit is contained in:
parent
fd1110739f
commit
dd404a2140
|
|
@ -39,7 +39,7 @@ function fish_prompt
|
|||
set -l git_branch '[' (_git_branch_name) ']'
|
||||
|
||||
if [ (_is_git_dirty) ]
|
||||
set git_info $red $git_branch "×"
|
||||
set git_info $red $git_branch
|
||||
else
|
||||
set git_info $cyan $git_branch
|
||||
end
|
||||
|
|
@ -50,7 +50,7 @@ function fish_prompt
|
|||
if [ (id -u) = "0" ];
|
||||
set indicate '#'
|
||||
else
|
||||
set indicate '🏂'
|
||||
set indicate '🪷'
|
||||
end
|
||||
echo -n -s $blue " $indicate " $normal
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue