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\
|
$hostname\
|
||||||
$directory\
|
$directory\
|
||||||
$git_branch\
|
$git_branch\
|
||||||
|
$git_commit\
|
||||||
$git_state\
|
$git_state\
|
||||||
$git_status\
|
$git_status\
|
||||||
($character)\
|
($character)\
|
||||||
|
@ -30,11 +31,12 @@ style = "italic bold"
|
||||||
format = "[$symbol$branch]($style)"
|
format = "[$symbol$branch]($style)"
|
||||||
style = "fg:#559955"
|
style = "fg:#559955"
|
||||||
symbol = " "
|
symbol = " "
|
||||||
truncation_length = 8
|
truncation_length = 16
|
||||||
truncation_symbol = ""
|
truncation_symbol = ""
|
||||||
|
|
||||||
[git_commit]
|
[git_commit]
|
||||||
style = ""
|
format = "[ $hash$tag]($style) "
|
||||||
|
style = "fg:#559955"
|
||||||
|
|
||||||
[git_state]
|
[git_state]
|
||||||
style = ""
|
style = ""
|
||||||
|
|
Loading…
Reference in a new issue