···13131414 # ๎ Git Prompt Customization
1515 set -g __fish_git_prompt_showdirtystate true
1616- set -g __fish_git_prompt_color red
1717- set -g __fish_git_prompt_color_dirtystate red
1816 set -g __fish_git_prompt_char_dirtystate "*"
19172018 set -gx FZF_DEFAULT_OPTS "\
···116114end
117115118116function fish_right_prompt
117117+ set -l vcs_color normal
118118+119119 if test -e "./.jj"
120120- set icon (set_color blue) "๓ฑ" (set_color normal)
120120+ set vcs_color blue
121121+ set icon (set_color $vcs_color) "๓ฑ" (set_color normal)
121122 else if test -e "./.git"
122122- set icon (set_color red) "๎" (set_color red)
123123+ set vcs_color red
124124+ set icon (set_color $vcs_color) "๎" (set_color normal)
123125 end
124126125125- echo -ns $icon (fish_git_prompt)
127127+ echo -ns $icon (set_color $vcs_color) (fish_git_prompt) (set_color normal)
126128end