๐Ÿ”’ Backup for my config files
dotfiles
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

git prompt follows vcs software choice

Kacaii 83b387e1 14423473

+7 -5
+7 -5
fish/config.fish
··· 13 13 14 14 # ๎™ Git Prompt Customization 15 15 set -g __fish_git_prompt_showdirtystate true 16 - set -g __fish_git_prompt_color red 17 - set -g __fish_git_prompt_color_dirtystate red 18 16 set -g __fish_git_prompt_char_dirtystate "*" 19 17 20 18 set -gx FZF_DEFAULT_OPTS "\ ··· 116 114 end 117 115 118 116 function fish_right_prompt 117 + set -l vcs_color normal 118 + 119 119 if test -e "./.jj" 120 - set icon (set_color blue) "๓ฑ—†" (set_color normal) 120 + set vcs_color blue 121 + set icon (set_color $vcs_color) "๓ฑ—†" (set_color normal) 121 122 else if test -e "./.git" 122 - set icon (set_color red) "๎™" (set_color red) 123 + set vcs_color red 124 + set icon (set_color $vcs_color) "๎™" (set_color normal) 123 125 end 124 126 125 - echo -ns $icon (fish_git_prompt) 127 + echo -ns $icon (set_color $vcs_color) (fish_git_prompt) (set_color normal) 126 128 end