Files
dotfiles/config/starship/config.toml
T
venomade a6543a0ba0 Nix Emacs
Add Emacs Darwin to the pkgs
Other neovim and tangential things
2026-03-06 00:09:04 +00:00

98 lines
1.8 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'
# Inserts a blank line between shell prompts
add_newline = true
format = """
${custom.linux}
$nix_shell\
$directory\
$git_branch\
$git_status\
$git_commit\
$status\
$fill\
$lua\
$rust\
$golang\
$haskell\
$jobs\
$cmd_duration\
$line_break\
$character"""
[custom.linux]
format = '[$symbol \[$output\]]($style) '
symbol = ' '
command = "cat /etc/os-release | grep '^ID=' | sed 's/ID=//' | sed 's/^./\\U&/'"
os = 'linux'
style = 'bold #f5e0dc'
when = true
[nix_shell]
format = '[$symbol]($style) '
symbol = '󱄅 '
style = 'bold #74c7ec'
[directory]
style = '#b2bbfb'
truncation_length = 2
[git_branch]
symbol = ' '
format = '[$symbol$branch(:$remote_branch)]($style) '
style = 'bold #eba0ac'
ignore_branches = ['master', 'main']
[git_status]
format = '([\[$all_status$ahead_behind\]]($style) )'
style = 'bold #89dceb'
[git_commit]
format = '[\[#$hash$tag\]]($style) '
style = 'bold #94e2d5'
[status]
format = '[\[$status\]]($style)'
disabled = false
[fill]
symbol = ' '
[lua]
format = '[$symbol($version )]($style)'
version_format = '$major.$minor'
symbol = '󰢱 '
detect_files = ['.lua-version', '.luarc.json']
[rust]
format = '[$symbol($version )]($style)'
version_format = '$major.$minor'
symbol = ' '
style = 'bold #fab387'
[golang]
format = '[$symbol($version )]($style)'
version_format = '$major.$minor'
symbol = ' '
style = 'bold #94e2d5'
[haskell]
format = '[$symbol($ghc_version )]($style)'
symbol = ' '
style = 'bold #cba6f7'
[cmd_duration]
format = '[󰔚 $duration]($style) '
style = 'bold #f9e2af'
# Replace the '❯' symbol in the prompt with '➜'
[character] # The name of the module we are configuring is 'character'
success_symbol = '[󰘧](bold #a6e3a1)'
error_symbol = '[󰘧](bold #f38ba8)'
# TODO
# - [direnv]