.dotfiles/.config/starship.toml

136 lines
2.7 KiB
TOML

format = """
[](fg:#454158 bg:yellow)\
$time\
[](fg:yellow bg:blue)\
$username$hostname$docker_context\
$python$nix_shell\
[](bg:green fg:blue)\
$directory\
[](bg:red fg:green)\
$git_branch$git_state$git_status\
[](bg:#454158 fg:red)\
$fill\
[](bg:yellow fg:#454158)\
$cmd_duration\
[](bg:red fg:yellow)\
$status\
[](bg:white fg:red)\
${custom.asciinema_log}$shell\
[](bg:cyan fg:white)\
$jobs\
[](cyan)
$character
"""
continuation_prompt = "[](fg:#454158 bg:blue)[](blue) "
[character]
success_symbol = "[](fg:#454158 bg:green)[](green)"
error_symbol = "[](fg:#454158 bg:red)[](red)"
vicmd_symbol = "[](fg:#454158 bg:cyan)[](cyan)"
[cmd_duration]
min_time = 0
show_milliseconds = true
style = "bg:yellow fg:black"
format = "[$duration]($style)"
[custom.asciinema_log]
command = 'case $ASCIINEMA_LOG in "raw") printf "" ;; "video") printf "" ;; esac'
when = ''' test -n "$ASCIINEMA_LOG" && test -n "$ASCIINEMA_REC" '''
style = "bg:white fg:black"
format = '[$output ]($style)'
[directory]
read_only = ""
truncation_length = 8
truncation_symbol = "…/"
style = "bg:green fg:black"
format = "[$read_only$path]($style)"
[docker_context]
style = "bg:blue fg:black"
symbol = ""
format = "[ $symbol$context]($style)"
[fill]
style = "bg:#454158"
symbol = " "
[git_branch]
symbol = ""
style = "bg:red fg:black"
format = '[ $symbol $branch ]($style)'
[git_commit]
style = "bg:red fg:black"
tag_disabled = false
tag_symbol = " "
format = '[\($hash$tag\) ]($style)'
[git_state]
style = "bg:red fg:bold black"
format = '[\($state $progress_current/$progress_total\) ]($style)'
[git_status]
style = "bg:red fg:black"
format = '[\[$all_status$ahead_behind\]]($style)'
[hostname]
ssh_only = false
style = "bg:blue fg:black"
format = "[@$hostname]($style)"
trim_at = ""
[jobs]
number_threshold = 1
style = "bg:cyan fg:black"
symbol = ""
format = "[$symbol$number]($style)"
[nix_shell]
style = "bg:blue fg:black"
impure_msg = "-"
pure_msg = "+"
format = '[ \($state$name\)]($style)'
[python]
style = "bg:blue fg:black"
format = '[ \($virtualenv\)]($style)'
detect_extensions = []
detect_files = []
[shell]
bash_indicator = '\$'
fish_indicator = ""
zsh_indicator = '%%'
powershell_indicator = ""
unknown_indicator = ""
style = "bg:white fg:black"
format = '[$indicator]($style)'
disabled = false
[sudo]
style = "bg:blue fg:black"
symbol = ""
format = "[$symbol]($style)"
disabled = false
[status]
disabled = false
style = "bg:red fg:black"
format = "[$status]($style)"
[time]
disabled = false
style = "bg:yellow fg:black"
format = "[$time]($style)"
[username]
show_always = true
style_user = "bg:blue fg:black"
style_root = "bg:blue fg:black underline"
format = "[$user]($style)"