mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 23:10:13 +00:00
changing prompt
This commit is contained in:
@ -2,6 +2,8 @@
|
||||
add_newline = false
|
||||
format = """\
|
||||
$directory\
|
||||
$git_branch\
|
||||
$git_commit \
|
||||
$character\
|
||||
"""
|
||||
|
||||
@ -13,8 +15,11 @@ truncate_to_repo = true
|
||||
truncation_length = 100
|
||||
|
||||
[git_branch]
|
||||
truncation_length = 1
|
||||
truncation_symbol = ""
|
||||
format = "[$symbol$branch]($style)"
|
||||
|
||||
[git_commit]
|
||||
commit_has_length = 7
|
||||
format = "[\\($hash\\)]($style)"
|
||||
|
||||
[git_status]
|
||||
format = '([\[$all_status$ahead_behind\]]($style) )'
|
||||
|
Reference in New Issue
Block a user