added oh-my-zsh like git status (with count of the file changed)
This commit is contained in:
parent
aea0c13069
commit
7a46fd5ede
|
@ -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 = " "
|
||||
|
||||
|
|
Loading…
Reference in New Issue