.dotfiles/starship/.config/starship.toml
2024-12-18 20:50:25 -05:00

185 lines
3.4 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.

# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
add_newline = false
palette = "solarized_light"
# palette = "monokai_pro"
command_timeout = 5000
# Customize your prompt to ensure everything is on a single line
format = """\
$directory\
$docker_context\
$conda\
$golang\
$lua\
$rust\
$c\
$python\
$package\
$line_break\
$jobs\
$character\
"""
right_format = """\
$git_branch\
$git_status\
$git_metrics\
$cmd_duration\
"""
# Git branch configuration
[git_branch]
format = "[ $branch(:$remote_branch)]($style)"
style = "bold red"
# Git status configuration
[git_status]
format = '[ $all_status]($style)'
style = "bold green"
# Git metric configuration
[git_metrics]
format = '([ $added]($added_style))([ $deleted]($deleted_style))'
added_style = "green"
deleted_style = "red"
disabled = false
# Configure the overall look of the prompt
[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 = "…/"
[line_break]
disabled = true
[jobs]
format = '[ $symbol$count]($style)'
number_threshold = 4
[cmd_duration]
format = "[ $duration]($style)"
style = "yellow"
# Container
[container]
format = '[ $symbol \[$name\]]($style)'
style = "orange"
# Docker
[docker_context]
format = '[ $symbol$container]($style)'
style = "blue"
# C
[c]
format = "[ $symbol($version(-$name) )]($style)"
style = "bold green"
detect_files = ["Makefile"]
# Conda
[conda]
format = "[ $environment]($style)"
style = "green"
# Python
[python]
format = "[ ${symbol}(${version})(\\($virtualenv\\) )]($style)"
# pyenv_version_name = true
style = "blue"
detect_files = ["Pipfile", "pyproject.toml", "poetry.lock", "requirements.txt"]
# Golang
[golang]
format = "[ $symbol($version)($mod_version)]($style)"
style = "blue"
# Rust
[rust]
format = "[ $symbol$version]($style)"
style = "purple"
# Lua
[lua]
format = "[ $symbol$version]($style)"
style = "purple"
# Package
[package]
format = "[ $symbol$version]($style)"
style = "208 bold"
# Directory substitutions
[directory.substitutions]
"Documents/projects" = "proj"
".config" = "config"
".dotfiles" = "dot"
".local" = "local"
# Monokai Pro palette
[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"
# Solarized light palette
[palettes.solarized_light]
rosewater = "#fdf6e3"
flamingo = "#dc322f"
pink = "#dc322f"
mauve = "#6c71c4"
red = "#dc322f"
maroon = "#b58900"
peach = "#b58900"
yellow = "#b58900"
green = "#859900"
teal = "#2aa198"
sky = "#268bd2"
sapphire = "#268bd2"
blue = "#268bd2"
lavender = "#6c71c4"
text = "#586e75"
subtext1 = "#657b83"
subtext0 = "#93a1a1"
overlay2 = "#93a1a1"
overlay1 = "#657b83"
overlay0 = "#002b36"
surface2 = "#fdf6e3"
surface1 = "#fdf6e3"
surface0 = "#fdf6e3"
base = "#fdf6e3"
mantle = "#fdf6e3"
crust = "#fdf6e3"