mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-22 19:10:24 +10:00
added oh-my-zsh like git status (with count of the file changed)
This commit is contained in:
@@ -21,6 +21,7 @@ disabled = false
|
|||||||
[character] # The name of the module we are configuring is "character"
|
[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"
|
success_symbol = "[➜](bold green)" # The "success_symbol" segment is being set to "➜" with the color "bold green"
|
||||||
error_symbol = "[✗](bold red)"
|
error_symbol = "[✗](bold red)"
|
||||||
|
|
||||||
#
|
#
|
||||||
# configure directory
|
# configure directory
|
||||||
[directory]
|
[directory]
|
||||||
@@ -65,6 +66,17 @@ symbol = " "
|
|||||||
[git_branch]
|
[git_branch]
|
||||||
symbol = " "
|
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]
|
[golang]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user