.dotfiles/starship/.config/starship.toml
2026-02-07 21:03:45 -05:00

200 lines
3.9 KiB
TOML
Raw 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.

# ── General Settings ──
"$schema" = 'https://starship.rs/config-schema.json'
add_newline = false
palette = "monokai_pro"
command_timeout = 5000
# ── Prompt Layout ──
format = """\
${custom.context}\
$status\
$directory\
$direnv\
$docker_context\
$conda\
$golang\
$lua\
$rust\
$c\
$python\
$package\
$jobs\
$character\
"""
right_format = """\
$cmd_duration\
$git_branch\
$git_status\
$git_metrics\
"""
# ── Exit Status (last command) ──
[status]
format = "([$status]($style)) "
style = "bold red"
disabled = false
map_symbol = true
success_symbol = "" # hide when exit code = 0
# ── Character ──
[character]
success_symbol = "[](bold green)"
error_symbol = "[✗](bold red)"
vimcmd_symbol = "[V](bold green)"
# ── Directory ──
[directory]
format = "[$path ]($style)[$read_only]($read_only_style)"
style = "bright-cyan"
truncation_length = 3
truncation_symbol = "…/"
use_logical_path = true
fish_style_pwd_dir_length = 1
[directory.substitutions]
"~/.dotfiles" = "dot"
"~/Documents/dev" = "dev"
"~/.config" = "config"
"~/.local" = "local"
"~/Library/CloudStorage/GoogleDrive-*" = "GDrive"
# ── Git ──
[git_branch]
format = "[$branch(:$remote_branch)]($style) "
style = "bold red"
[git_status]
format = '[$all_status]($style) '
style = "bold green"
[git_metrics]
format = '([$added]($added_style))([$deleted]($deleted_style)) '
added_style = "green"
deleted_style = "red"
disabled = true
# ── Jobs ──
[jobs]
format = '[$symbol$count]($style) '
number_threshold = 4
# ── Command Duration ──
[cmd_duration]
format = "[$duration ]($style) "
style = "yellow"
# ── Direnv ──
[direnv]
format = '[$symbol$loaded/$allowed]($style) '
disabled = false
# ── Docker / Container ──
[container]
format = '[$symbol \[$name\]]($style) '
style = "orange"
[docker_context]
format = '[$symbol$container]($style) '
style = "blue"
# ── Language Modules ──
[c]
format = "[$symbol($version(-$name))]($style) "
style = "bold green"
detect_files = ["Makefile"]
[conda]
format = "[$environment]($style) "
style = "dimmed green"
disabled = false
[python]
format = "[${symbol}(${version})(\\($virtualenv\\))]($style) "
style = "blue"
detect_files = ["Pipfile", "pyproject.toml", "poetry.lock", "requirements.txt"]
[golang]
format = "[$symbol($version)($mod_version)]($style) "
style = "blue"
[rust]
format = "[$symbol$version]($style) "
style = "purple"
[lua]
format = "[$symbol$version]($style) "
style = "purple"
[package]
format = "[$symbol$version]($style) "
style = "208 bold"
# ── Custom Context (WSL / Codespaces / Remote) ──
[custom.context]
command = '''
[ -n "$WSL_DISTRO_NAME" ] && echo "WSL"
[ -n "$CODESPACES" ] && echo "Codespaces"
[ -n "$SSH_CONNECTION" ] && echo "Remote"
'''
when = 'true'
shell = ['sh']
style = 'bold yellow'
format = '[$output]($style)'
# ── Color Palettes ──
[palettes.solarized_light]
rosewater = "#fdf6e3"
flamingo = "#d33682"
pink = "#d33682"
mauve = "#6c71c4"
red = "#dc322f"
maroon = "#cb4b16"
peach = "#cb4b16"
yellow = "#b58900"
green = "#859900"
teal = "#2aa198"
sky = "#268bd2"
sapphire = "#268bd2"
blue = "#268bd2"
lavender = "#6c71c4"
text = "#002b36"
subtext1 = "#073642"
subtext0 = "#586e75"
overlay2 = "#657b83"
overlay1 = "#839496"
overlay0 = "#93a1a1"
surface2 = "#eee8d5"
surface1 = "#fdf6e3"
surface0 = "#fdf6e3"
base = "#fdf6e3"
mantle = "#fdf6e3"
crust = "#fdf6e3"
[palettes.monokai_pro]
rosewater = "#f1ebeb"
flamingo = "#dc2566"
pink = "#fa2772"
mauve = "#9358fe"
red = "#dc2566"
maroon = "#8fc029"
peach = "#d4c96e"
yellow = "#e7db75"
green = "#a7e22e"
teal = "#56b7a5"
sky = "#66d9ee"
sapphire = "#66efd5"
blue = "#55bcce"
lavender = "#ae82ff"
text = "#f8f8f2"
subtext1 = "#acada1"
subtext0 = "#76715e"
overlay2 = "#cfd0c2"
overlay1 = "#76715e"
overlay0 = "#48483e"
surface2 = "#272822"
surface1 = "#48483e"
surface0 = "#272822"
base = "#272822"
mantle = "#272822"
crust = "#272822"