git prompts for modifications

This commit is contained in:
Noah Masur 2020-11-23 18:25:25 -05:00
parent 8656d38462
commit fabb4056ed

View File

@ -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 = ""