Files
dotfiles/.config/starship.toml

138 lines
2.2 KiB
TOML
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.
# DevOps/Testing focused Starship config
format = """
$time\
$directory\
$git_branch\
$git_status\
$kubernetes\
$docker_context\
$python\
$golang\
$nodejs\
$cmd_duration\
$line_break\
$character"""
# Fast command execution
command_timeout = 1000
[time]
disabled = false
format = '[$time]($style) '
time_format = "%H:%M"
style = "bold yellow"
[directory]
truncation_length = 3
truncation_symbol = "…/"
read_only = " 🔒"
style = "bold cyan"
[git_branch]
symbol = " "
format = "[$symbol$branch]($style) "
style = "bold purple"
truncation_length = 20
truncation_symbol = "…"
[git_status]
format = '([\[$all_status$ahead_behind\]]($style) )'
style = "bold red"
conflicted = "⚡"
ahead = "⇡"
behind = "⇣"
diverged = "⇕"
up_to_date = "✓"
untracked = "?"
stashed = "$"
modified = "!"
staged = "+"
renamed = "»"
deleted = "✘"
[kubernetes]
format = '[$symbol$context( \($namespace\))]($style) '
symbol = "☸ "
style = "bold cyan"
disabled = false
[docker_context]
symbol = " "
format = "[$symbol$context]($style) "
style = "bold blue"
only_with_files = true
[python]
symbol = " "
format = '[$symbol$pyenv_prefix($version)]($style) '
style = "bold green"
detect_extensions = ["py", "pyi", "pyc", "pyo", "pyd", "ipynb"]
detect_files = ["requirements.txt", "pyproject.toml", "Pipfile", ".python-version"]
[golang]
symbol = " "
format = '[$symbol($version)]($style) '
style = "bold cyan"
detect_extensions = ["go"]
detect_files = ["go.mod", "go.sum"]
[nodejs]
symbol = " "
format = '[$symbol($version)]($style) '
style = "bold green"
detect_extensions = ["js", "mjs", "cjs", "ts", "tsx", "jsx"]
detect_files = ["package.json", ".nvmrc", "playwright.config.js", "playwright.config.ts"]
[cmd_duration]
min_time = 2_000
format = "took [$duration]($style) "
style = "bold yellow"
[character]
success_symbol = "[](bold green)"
error_symbol = "[](bold red)"
vimcmd_symbol = "[](bold yellow)"
# Explicitly disable unused modules for performance
[aws]
disabled = true
[php]
disabled = true
[ruby]
disabled = true
[rust]
disabled = true
[java]
disabled = true
[c]
disabled = true
[dart]
disabled = true
[elixir]
disabled = true
[elm]
disabled = true
[haskell]
disabled = true
[julia]
disabled = true
[lua]
disabled = true
[nim]
disabled = true
[package]
disabled = true