2022-03-28 11:28:38 +00:00
|
|
|
format = """
|
2023-06-27 21:38:39 +00:00
|
|
|
[](fg:#454158 bg:yellow)\
|
|
|
|
$time\
|
|
|
|
[](fg:yellow bg:blue)\
|
2022-10-16 18:29:06 +00:00
|
|
|
$username$hostname$docker_context\
|
|
|
|
$python$nix_shell\
|
2023-06-02 18:25:05 +00:00
|
|
|
[](bg:green fg:blue)\
|
2022-03-28 14:44:28 +00:00
|
|
|
$directory\
|
|
|
|
[](bg:red fg:green)\
|
2022-04-02 13:41:29 +00:00
|
|
|
$git_branch$git_state$git_status\
|
2022-03-28 14:44:28 +00:00
|
|
|
[](bg:#454158 fg:red)\
|
|
|
|
$fill\
|
2022-03-28 15:12:49 +00:00
|
|
|
[](bg:yellow fg:#454158)\
|
2022-03-30 11:48:16 +00:00
|
|
|
$cmd_duration\
|
|
|
|
[](bg:red fg:yellow)\
|
|
|
|
$status\
|
2022-08-28 19:33:01 +00:00
|
|
|
[](bg:white fg:red)\
|
2022-03-29 22:27:22 +00:00
|
|
|
$shell\
|
2022-08-28 19:33:01 +00:00
|
|
|
[](bg:cyan fg:white)\
|
2022-03-28 14:44:28 +00:00
|
|
|
$jobs\
|
|
|
|
[](cyan)
|
2022-03-29 22:27:22 +00:00
|
|
|
$character
|
2022-03-28 11:28:38 +00:00
|
|
|
"""
|
|
|
|
|
2022-03-29 22:27:22 +00:00
|
|
|
continuation_prompt = "[](fg:#454158 bg:blue)[](blue) "
|
2022-03-28 11:28:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
[character]
|
2022-03-29 22:27:22 +00:00
|
|
|
success_symbol = "[](fg:#454158 bg:green)[](green)"
|
|
|
|
error_symbol = "[](fg:#454158 bg:red)[](red)"
|
|
|
|
vicmd_symbol = "[](fg:#454158 bg:cyan)[](cyan)"
|
2022-03-28 11:28:38 +00:00
|
|
|
|
|
|
|
[cmd_duration]
|
|
|
|
min_time = 0
|
|
|
|
show_milliseconds = true
|
2022-03-28 14:44:28 +00:00
|
|
|
style = "bg:yellow fg:black"
|
2022-03-30 11:48:16 +00:00
|
|
|
format = "[$duration]($style)"
|
2022-03-28 11:28:38 +00:00
|
|
|
|
|
|
|
[directory]
|
|
|
|
read_only = ""
|
|
|
|
truncation_length = 8
|
|
|
|
truncation_symbol = "…/"
|
2022-03-28 14:44:28 +00:00
|
|
|
style = "bg:green fg:black"
|
|
|
|
format = "[$read_only$path]($style)"
|
2022-03-28 11:28:38 +00:00
|
|
|
|
|
|
|
[docker_context]
|
2023-06-02 18:25:05 +00:00
|
|
|
style = "bg:blue fg:black"
|
2022-03-28 14:44:28 +00:00
|
|
|
symbol = ""
|
|
|
|
format = "[ $symbol$context]($style)"
|
2022-03-28 11:28:38 +00:00
|
|
|
|
|
|
|
[fill]
|
2022-03-28 14:44:28 +00:00
|
|
|
style = "bg:#454158"
|
2022-03-28 11:28:38 +00:00
|
|
|
symbol = " "
|
|
|
|
|
2022-03-28 14:44:28 +00:00
|
|
|
[git_branch]
|
|
|
|
symbol = ""
|
|
|
|
style = "bg:red fg:black"
|
|
|
|
format = '[ $symbol $branch ]($style)'
|
|
|
|
|
2022-04-11 21:07:42 +00:00
|
|
|
|
2022-03-28 11:28:38 +00:00
|
|
|
[git_commit]
|
2022-03-28 14:44:28 +00:00
|
|
|
style = "bg:red fg:black"
|
2022-03-28 11:28:38 +00:00
|
|
|
tag_disabled = false
|
|
|
|
tag_symbol = " "
|
2022-03-28 14:44:28 +00:00
|
|
|
format = '[\($hash$tag\) ]($style)'
|
2022-03-28 11:28:38 +00:00
|
|
|
|
2022-04-11 21:07:42 +00:00
|
|
|
[git_state]
|
|
|
|
style = "bg:red fg:bold black"
|
|
|
|
format = '[\($state $progress_current/$progress_total\) ]($style)'
|
|
|
|
|
2022-03-28 11:28:38 +00:00
|
|
|
[git_status]
|
2022-03-28 14:44:28 +00:00
|
|
|
style = "bg:red fg:black"
|
|
|
|
format = '[\[$all_status$ahead_behind\]]($style)'
|
2022-03-28 11:28:38 +00:00
|
|
|
|
|
|
|
[hostname]
|
|
|
|
ssh_only = false
|
2023-06-02 18:25:05 +00:00
|
|
|
style = "bg:blue fg:black"
|
2022-03-28 14:44:28 +00:00
|
|
|
format = "[@$hostname]($style)"
|
2022-03-28 11:28:38 +00:00
|
|
|
trim_at = ""
|
|
|
|
|
|
|
|
[jobs]
|
|
|
|
number_threshold = 1
|
2022-03-28 14:44:28 +00:00
|
|
|
style = "bg:cyan fg:black"
|
2022-03-28 11:28:38 +00:00
|
|
|
symbol = ""
|
2022-03-28 14:44:28 +00:00
|
|
|
format = "[$symbol$number]($style)"
|
2022-03-28 11:28:38 +00:00
|
|
|
|
2022-10-16 18:29:06 +00:00
|
|
|
[nix_shell]
|
2023-06-02 18:25:05 +00:00
|
|
|
style = "bg:blue fg:black"
|
2022-10-16 18:29:06 +00:00
|
|
|
impure_msg = "-"
|
|
|
|
pure_msg = "+"
|
|
|
|
format = '[ \($state$name\)]($style)'
|
|
|
|
|
2022-03-29 22:27:22 +00:00
|
|
|
[python]
|
2023-06-02 18:25:05 +00:00
|
|
|
style = "bg:blue fg:black"
|
2022-10-16 18:29:06 +00:00
|
|
|
format = '[ \($virtualenv\)]($style)'
|
2022-03-29 22:27:22 +00:00
|
|
|
detect_extensions = []
|
|
|
|
detect_files = []
|
|
|
|
|
2022-03-28 11:28:38 +00:00
|
|
|
[shell]
|
|
|
|
bash_indicator = '\$'
|
|
|
|
fish_indicator = ""
|
|
|
|
zsh_indicator = '%%'
|
|
|
|
powershell_indicator = ""
|
|
|
|
unknown_indicator = ""
|
2022-08-28 19:33:01 +00:00
|
|
|
style = "bg:white fg:black"
|
2022-03-28 11:28:38 +00:00
|
|
|
format = '[$indicator]($style)'
|
|
|
|
disabled = false
|
|
|
|
|
|
|
|
[sudo]
|
2023-06-02 18:25:05 +00:00
|
|
|
style = "bg:blue fg:black"
|
2022-03-28 14:44:28 +00:00
|
|
|
symbol = ""
|
2022-03-28 11:28:38 +00:00
|
|
|
format = "[$symbol]($style)"
|
|
|
|
disabled = false
|
|
|
|
|
|
|
|
[status]
|
|
|
|
disabled = false
|
2022-03-30 11:48:16 +00:00
|
|
|
style = "bg:red fg:black"
|
|
|
|
format = "[$status]($style)"
|
2022-03-28 11:28:38 +00:00
|
|
|
|
|
|
|
[time]
|
|
|
|
disabled = false
|
2023-06-27 21:38:39 +00:00
|
|
|
style = "bg:yellow fg:black"
|
2022-03-28 11:28:38 +00:00
|
|
|
format = "[$time]($style)"
|
|
|
|
|
|
|
|
[username]
|
|
|
|
show_always = true
|
2023-06-02 18:25:05 +00:00
|
|
|
style_user = "bg:blue fg:black"
|
|
|
|
style_root = "bg:blue fg:black underline"
|
2022-03-28 15:12:49 +00:00
|
|
|
format = "[$user]($style)"
|