mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-19 13:46:17 +10:00
added git state information
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#format = """
|
#format = """
|
||||||
#[╭─user───❯](bold blue) $username
|
#[╭─user───❯](bold blue) $username
|
||||||
#[┣─system─❯](bold yellow) $hostname
|
#[┣─system─❯](bold yellow) $hostname
|
||||||
#[┣─project❯](bold red) $directory$rust$git_branch$git_status$package$golang$terraform$docker_context$python$docker_context$nodejs
|
#[┣─project❯](bold red) $directory$rust$git_branch$git_state$git_status$package$golang$terraform$docker_context$python$docker_context$nodejs
|
||||||
#[╰─cmd────❯](bold green)
|
#[╰─cmd────❯](bold green)
|
||||||
#"""
|
#"""
|
||||||
[username]
|
[username]
|
||||||
@@ -77,6 +77,17 @@ behind = "⇣${count}"
|
|||||||
untracked = "[${count}?](blue)"
|
untracked = "[${count}?](blue)"
|
||||||
staged = "[${count}+](green)"
|
staged = "[${count}+](green)"
|
||||||
|
|
||||||
|
[git_state]
|
||||||
|
style = "bold red"
|
||||||
|
format = "[$state( $progress_current/$progress_total) ]($style)"
|
||||||
|
rebase = "rebase"
|
||||||
|
merge = "merge"
|
||||||
|
revert = "revert"
|
||||||
|
cherry_pick = "cherry"
|
||||||
|
bisect = "bisect"
|
||||||
|
am = "am"
|
||||||
|
am_or_rebase = "am/rebase"
|
||||||
|
|
||||||
[golang]
|
[golang]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user