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) ']'
|
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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue