fix: git prompt didn't show untracked files

This commit is contained in:
Klesh Wong 2022-08-28 23:20:42 +08:00
parent 650f639f3a
commit 98252e8d9d

View File

@ -38,6 +38,7 @@ if status is-interactive
# === fish git prompt configuration # === fish git prompt configuration
# tune git icon for nerdfont # tune git icon for nerdfont
set -g __fish_git_prompt_showuntrackedfiles true
set -g __fish_git_prompt_char_upstream_ahead '>' set -g __fish_git_prompt_char_upstream_ahead '>'
set -g __fish_git_prompt_char_upstream_behind '<' set -g __fish_git_prompt_char_upstream_behind '<'
set -g __fish_git_prompt_char_upstream_prefix '' set -g __fish_git_prompt_char_upstream_prefix ''