dotfiles/default/home/.config/starship.toml
2026-02-12 07:39:59 -08:00

84 lines
1.9 KiB
TOML

# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
# Inserts a blank line between shell prompts
add_newline = false
#format = '[░▒▓](fg:purple bg:transparent)[ 󰊟 ${user}](fg:black bg:purple)'
format = """[░▒▓](fg:purple bg:transparent)\
$time\
$sudo\
$username\
${custom.hostname}\
$directory\
$git_branch\
$git_commit\
$git_metrics\
$line_break\
$character"""
#$git_status\
[username]
style_user = 'bg:purple fg:black'
#style_root = 'bg:blue fg:black'
format = '[ 󰊟 $user ]($style)[](fg:purple bg:black)'
show_always = true
[sudo]
style = 'bold bg:purple fg:black'
#symbol = 'root'
format = '[ ‼]($style)'
disabled = false
[directory]
truncation_length = 2
fish_style_pwd_dir_length = 2
format = '[ $path]($style)[$read_only]($read_only_style)'#[](fg:cyan bg:black)'
style = 'bg:transparent fg:cyan'
truncate_to_repo = true
[git_branch]
format = ' [$symbol$branch(:$remote_branch)]($style)'
[git_status]
#format = ' [](fg:green)[$all_status$ahead_behind]($style)[](fg:green)'
format = ' [$all_status$ahead_behind]($style)'
#up_to_date = ''
style = 'fg:green'
#style = 'bg:green fg:black'
[git_commit]
format = ' [\($hash$tag\)]($style)'
only_detached = false
tag_disabled = false
[git_metrics]
disabled = false
added_style = 'bold blue'
format = ' [+$added]($added_style)/[-$deleted]($deleted_style) '
only_nonzero_diffs = true
[time]
disabled = true
style = 'bg:purple fg:black'
time_format = '%H:%M'
format = '[ \[$time\]]($style)'
[hostname]
ssh_only = false
#trim_at =
ssh_symbol = '\[\]'
aliases = { "pogmommy" = "", "penelope" = "" }
disabled = false
[custom.hostname]
#command = 'hostname | cut -d - -f 3-'
command = ' hostname | sed -n "s/^.*-\(.*\)-.*$/\1/p"'
when = true
style = 'bold bg:black fg:purple'
format = '[ 󰣚 ](fg:red bg:black)[$symbol($output )]($style)[](fg:black bg:transparent)'
[character]
success_symbol = '[\$](green)'
error_symbol = '[\$](red)'