added oh-my-zsh like git status (with count of the file changed)

This commit is contained in:
william wu 2022-11-14 21:42:35 +01:00
parent aea0c13069
commit 7a46fd5ede
1 changed files with 12 additions and 0 deletions

View File

@ -21,6 +21,7 @@ disabled = false
[character] # The name of the module we are configuring is "character"
success_symbol = "[➜](bold green)" # The "success_symbol" segment is being set to "➜" with the color "bold green"
error_symbol = "[✗](bold red)"
#  
# configure directory
[directory]
@ -65,6 +66,17 @@ symbol = " "
[git_branch]
symbol = " "
[git_status]
format = '([\[$all_status$ahead_behind\]]($style) )'
stashed = "[${count}*](green)"
modified = "[${count}+](yellow)"
deleted = "[${count}-](red)"
conflicted = "[${count}~](red)"
ahead = "⇡${count}"
behind = "⇣${count}"
untracked = "[${count}?](blue)"
staged = "[${count}+](green)"
[golang]
symbol = " "