81 lines
1.5 KiB
TOML
81 lines
1.5 KiB
TOML
|
format = """
|
||
|
$time $username$hostname$docker_context $directory$git_branch$git_commit$git_state$git_status\
|
||
|
$fill$status$cmd_duration$jobs
|
||
|
$sudo$shell $character
|
||
|
"""
|
||
|
|
||
|
continuation_prompt = "▶"
|
||
|
|
||
|
|
||
|
[character]
|
||
|
success_symbol = "[➜](bold green)"
|
||
|
error_symbol = "[✗](bold red)"
|
||
|
vicmd_symbol = "[V](bold green)"
|
||
|
|
||
|
[cmd_duration]
|
||
|
min_time = 0
|
||
|
show_notifications = true
|
||
|
show_milliseconds = true
|
||
|
format = "[祥$duration]($style) "
|
||
|
|
||
|
[directory]
|
||
|
read_only = ""
|
||
|
truncation_length = 8
|
||
|
truncation_symbol = "…/"
|
||
|
style = "cyan"
|
||
|
repo_root_style = "cyan bold underline"
|
||
|
format = "[$read_only]($read_only_style)[$path]($style) "
|
||
|
repo_root_format = "[$read_only]($read_only_style)[$before_root_path]($style)[$repo_root]($repo_root_style)[$path]($style) "
|
||
|
|
||
|
[docker_context]
|
||
|
format = ' [\[$symbol$context\]]($style)'
|
||
|
|
||
|
[fill]
|
||
|
symbol = " "
|
||
|
|
||
|
[git_commit]
|
||
|
tag_disabled = false
|
||
|
tag_symbol = " "
|
||
|
|
||
|
[git_status]
|
||
|
staged = "[+](green)"
|
||
|
|
||
|
[hostname]
|
||
|
ssh_only = false
|
||
|
style = "purple"
|
||
|
format = "@[$hostname]($style)"
|
||
|
trim_at = ""
|
||
|
|
||
|
[jobs]
|
||
|
number_threshold = 1
|
||
|
symbol = ""
|
||
|
|
||
|
[shell]
|
||
|
bash_indicator = '\$'
|
||
|
fish_indicator = ""
|
||
|
zsh_indicator = '%%'
|
||
|
powershell_indicator = ""
|
||
|
unknown_indicator = ""
|
||
|
style = "white"
|
||
|
format = '[$indicator]($style)'
|
||
|
disabled = false
|
||
|
|
||
|
[sudo]
|
||
|
format = "[$symbol]($style)"
|
||
|
disabled = false
|
||
|
|
||
|
[status]
|
||
|
disabled = false
|
||
|
format = "[$status]($style) "
|
||
|
|
||
|
[time]
|
||
|
disabled = false
|
||
|
style = "white"
|
||
|
format = "[$time]($style)"
|
||
|
|
||
|
[username]
|
||
|
style_user = "yellow bold"
|
||
|
style_root = "red bold"
|
||
|
format = "[$user]($style)"
|
||
|
show_always = true
|