git in prompt
This commit is contained in:
parent
9ff681d013
commit
794ec3f0d3
1 changed files with 4 additions and 2 deletions
|
@ -4,6 +4,7 @@ format = """\
|
|||
$hostname\
|
||||
$directory\
|
||||
$git_branch\
|
||||
$git_commit\
|
||||
$git_state\
|
||||
$git_status\
|
||||
($character)\
|
||||
|
@ -30,11 +31,12 @@ style = "italic bold"
|
|||
format = "[$symbol$branch]($style)"
|
||||
style = "fg:#559955"
|
||||
symbol = " "
|
||||
truncation_length = 8
|
||||
truncation_length = 16
|
||||
truncation_symbol = ""
|
||||
|
||||
[git_commit]
|
||||
style = ""
|
||||
format = "[ $hash$tag]($style) "
|
||||
style = "fg:#559955"
|
||||
|
||||
[git_state]
|
||||
style = ""
|
||||
|
|
Loading…
Reference in a new issue