mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 14:35:37 +00:00
git prompts for modifications
This commit is contained in:
parent
8656d38462
commit
fabb4056ed
@ -3,7 +3,8 @@ add_newline = false
|
|||||||
format = """\
|
format = """\
|
||||||
$directory\
|
$directory\
|
||||||
$git_branch\
|
$git_branch\
|
||||||
$git_commit \
|
$git_commit\
|
||||||
|
$git_status\
|
||||||
$character\
|
$character\
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@ -15,14 +16,15 @@ truncate_to_repo = true
|
|||||||
truncation_length = 100
|
truncation_length = 100
|
||||||
|
|
||||||
[git_branch]
|
[git_branch]
|
||||||
format = "[$symbol$branch]($style)"
|
format = "[$symbol$branch]($style) "
|
||||||
|
|
||||||
[git_commit]
|
[git_commit]
|
||||||
commit_has_length = 7
|
format = "[$hash]($style) "
|
||||||
format = "[\\($hash\\)]($style)"
|
disabled = false
|
||||||
|
|
||||||
[git_status]
|
[git_status]
|
||||||
format = '([\[$all_status$ahead_behind\]]($style) )'
|
format = "[$all_status$ahead_behind]($style) "
|
||||||
|
style = "red"
|
||||||
# prefix = ""
|
# prefix = ""
|
||||||
# suffix = ""
|
# suffix = ""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user