2020-07-19 23:47:46 +00:00
|
|
|
|
# Don't print a new line at the start of the prompt
|
|
|
|
|
add_newline = false
|
2020-11-10 23:14:36 +00:00
|
|
|
|
format = """\
|
|
|
|
|
$directory\
|
2020-11-23 23:13:50 +00:00
|
|
|
|
$git_branch\
|
2020-11-23 23:25:25 +00:00
|
|
|
|
$git_commit\
|
|
|
|
|
$git_status\
|
2020-11-10 23:14:36 +00:00
|
|
|
|
$character\
|
|
|
|
|
"""
|
2020-07-19 23:47:46 +00:00
|
|
|
|
|
2020-11-10 23:14:36 +00:00
|
|
|
|
[character]
|
2020-07-19 23:47:46 +00:00
|
|
|
|
symbol = "❯"
|
|
|
|
|
|
2020-11-23 23:26:40 +00:00
|
|
|
|
[cmd_duration]
|
|
|
|
|
min_time = 3_000
|
|
|
|
|
show_notifications = true
|
|
|
|
|
min_time_to_notify = 30_000
|
2020-11-23 23:41:10 +00:00
|
|
|
|
format = "[$duration]($style) "
|
2020-11-23 23:26:40 +00:00
|
|
|
|
|
2020-07-19 23:47:46 +00:00
|
|
|
|
[directory]
|
|
|
|
|
truncate_to_repo = true
|
|
|
|
|
truncation_length = 100
|
|
|
|
|
|
2020-07-26 20:15:21 +00:00
|
|
|
|
[git_branch]
|
2020-11-23 23:26:40 +00:00
|
|
|
|
format = "[$symbol$branch]($style)"
|
2020-11-23 23:13:50 +00:00
|
|
|
|
|
|
|
|
|
[git_commit]
|
2020-11-24 04:05:02 +00:00
|
|
|
|
format = "( @ [$hash]($style) )"
|
|
|
|
|
only_detached = false
|
2020-07-26 20:15:21 +00:00
|
|
|
|
|
2020-07-19 23:47:46 +00:00
|
|
|
|
[git_status]
|
2020-11-24 04:05:02 +00:00
|
|
|
|
format = "([$all_status$ahead_behind]($style) )"
|
|
|
|
|
conflicted = "="
|
|
|
|
|
ahead = "⇡"
|
|
|
|
|
behind = "⇣"
|
|
|
|
|
diverged = "⇕"
|
|
|
|
|
untracked = "⋄"
|
2020-11-24 04:33:20 +00:00
|
|
|
|
stashed = "⩮"
|
2020-11-24 04:05:02 +00:00
|
|
|
|
modified = "∽"
|
|
|
|
|
staged = "+"
|
|
|
|
|
renamed = "»"
|
|
|
|
|
deleted = "✘"
|
2020-11-23 23:25:25 +00:00
|
|
|
|
style = "red"
|
2020-07-26 20:15:21 +00:00
|
|
|
|
|
|
|
|
|
[python]
|
|
|
|
|
symbol = ""
|
2020-11-10 23:14:36 +00:00
|
|
|
|
format = '[\($virtualenv\)]($style)'
|
2020-07-31 01:12:17 +00:00
|
|
|
|
|
|
|
|
|
[custom.virtualenv]
|
|
|
|
|
command = "echo (basename $VIRTUAL_ENV)" # shows output of command
|
2020-11-10 23:14:36 +00:00
|
|
|
|
format = "[$output]($style) "
|
2020-07-31 01:12:17 +00:00
|
|
|
|
when = "true"
|
2020-11-10 23:14:36 +00:00
|
|
|
|
# prefix = "("
|
|
|
|
|
# suffix = ") "
|