File tree 1 file changed +24
-2
lines changed
1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change 1
1
# format = """
2
2
# [╭─user───❯](bold blue) $username
3
3
# [┣─system─❯](bold yellow) $hostname
4
- # [┣─project❯](bold red) $directory$rust$git_branch$git_status$package$golang$terraform$docker_context$python$docker_context$nodejs
4
+ # [┣─project❯](bold red) $directory$rust$git_branch$git_state$ git_status$package$golang$terraform$docker_context$python$docker_context$nodejs
5
5
# [╰─cmd────❯](bold green)
6
6
# """
7
-
8
7
[username ]
9
8
style_user = " green bold"
10
9
style_root = " red bold"
@@ -22,6 +21,7 @@ disabled = false
22
21
[character ] # The name of the module we are configuring is "character"
23
22
success_symbol = " [➜](bold green)" # The "success_symbol" segment is being set to "➜" with the color "bold green"
24
23
error_symbol = " [✗](bold red)"
24
+
25
25
#
26
26
# configure directory
27
27
[directory ]
@@ -66,6 +66,28 @@ symbol = " "
66
66
[git_branch ]
67
67
symbol = " "
68
68
69
+ [git_status ]
70
+ format = ' ([\[$all_status$ahead_behind\]]($style) )'
71
+ stashed = " [${count}*](green)"
72
+ modified = " [${count}+](yellow)"
73
+ deleted = " [${count}-](red)"
74
+ conflicted = " [${count}~](red)"
75
+ ahead = " ⇡${count}"
76
+ behind = " ⇣${count}"
77
+ untracked = " [${count}?](blue)"
78
+ staged = " [${count}+](green)"
79
+
80
+ [git_state ]
81
+ style = " bold red"
82
+ format = " [$state( $progress_current/$progress_total) ]($style)"
83
+ rebase = " rebase"
84
+ merge = " merge"
85
+ revert = " revert"
86
+ cherry_pick = " cherry"
87
+ bisect = " bisect"
88
+ am = " am"
89
+ am_or_rebase = " am/rebase"
90
+
69
91
[golang ]
70
92
symbol = " "
71
93
You can’t perform that action at this time.
0 commit comments