From dd404a2140df20714dee2e5e72043b0dee2443d6 Mon Sep 17 00:00:00 2001 From: Shawn Anderson Date: Thu, 27 Oct 2022 13:40:35 -0700 Subject: [PATCH] Update fish prompt with lotus emoji and remove the x from unclean git repo. --- dotfiles/.config/fish/functions/fish_prompt.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotfiles/.config/fish/functions/fish_prompt.fish b/dotfiles/.config/fish/functions/fish_prompt.fish index b9437fb..42abb6d 100644 --- a/dotfiles/.config/fish/functions/fish_prompt.fish +++ b/dotfiles/.config/fish/functions/fish_prompt.fish @@ -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