Homelab-Infra/roles/cli_productivity/templates/starship.toml.j2

100 lines
1.7 KiB
Django/Jinja
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Managed by Ansible
add_newline = true
command_timeout = 1000
format = """
$username\
$hostname\
$directory\
$git_branch\
$git_status\
$container\
$docker_context\
$python\
$nodejs\
$golang\
$rust\
$terraform\
$kubernetes\
$cmd_duration\
$line_break\
$character"""
[character]
success_symbol = "[➜](bold green)"
error_symbol = "[➜](bold red)"
vimcmd_symbol = "[](bold green)"
[username]
show_always = false
style_user = "bold blue"
style_root = "bold red"
format = "[$user]($style) "
[hostname]
ssh_only = true
style = "bold dimmed green"
format = "on [$hostname]($style) "
[directory]
style = "bold cyan"
truncation_length = 4
truncate_to_repo = false
read_only = " 󰌾"
format = "[$path]($style)[$read_only]($read_only_style) "
[git_branch]
symbol = " "
style = "bold purple"
format = "on [$symbol$branch]($style) "
[git_status]
style = "bold yellow"
format = "[$all_status$ahead_behind]($style) "
[cmd_duration]
min_time = 1000
style = "bold yellow"
format = "took [$duration]($style) "
[container]
symbol = "⬢ "
style = "bold red"
format = "[$symbol$name]($style) "
[docker_context]
symbol = " "
style = "blue bold"
format = "via [$symbol$context]($style) "
[kubernetes]
disabled = false
symbol = "☸ "
style = "bold blue"
format = "[$symbol$context( \\($namespace\\))]($style) "
[python]
symbol = " "
style = "yellow bold"
format = "via [$symbol$pyenv_prefix$version( \\($virtualenv\\))]($style) "
[nodejs]
symbol = " "
style = "green bold"
format = "via [$symbol$version]($style) "
[golang]
symbol = " "
style = "cyan bold"
format = "via [$symbol$version]($style) "
[rust]
symbol = " "
style = "red bold"
format = "via [$symbol$version]($style) "
[terraform]
symbol = " "
style = "purple bold"
format = "via [$symbol$workspace]($style) "