88 lines
1.8 KiB
TOML
88 lines
1.8 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 = true
|
||
|
||
# Replace the '❯' symbol in the prompt with '➜'
|
||
[character] # The name of the module we are configuring is 'character'
|
||
success_symbol = '[➜](bold green)' # The 'success_symbol' segment is being set to '➜' with the color 'bold green'
|
||
|
||
[container]
|
||
format = '[$symbol \[$name\]]($style) '
|
||
|
||
|
||
[directory]
|
||
truncation_length = 8
|
||
truncation_symbol = '…/'
|
||
|
||
[docker_context]
|
||
format = 'via [🐋 $context](blue bold)'
|
||
|
||
[git_branch]
|
||
symbol = '🌱 '
|
||
truncation_length = 4
|
||
truncation_symbol = ''
|
||
ignore_branches = ['master', 'main']
|
||
|
||
[git_commit]
|
||
commit_hash_length = 4
|
||
tag_symbol = '🔖 '
|
||
|
||
[git_state]
|
||
format = '[\($state( $progress_current of $progress_total)\)]($style) '
|
||
cherry_pick = '[🍒 PICKING](bold red)'
|
||
|
||
[git_metrics]
|
||
added_style = 'bold blue'
|
||
format = '[+$added]($added_style)/[-$deleted]($deleted_style) '
|
||
|
||
[git_status]
|
||
conflicted = '🏳'
|
||
ahead = '🏎💨'
|
||
behind = '😰'
|
||
diverged = '😵'
|
||
up_to_date = '✓'
|
||
untracked = '🤷'
|
||
stashed = '📦'
|
||
modified = '📝'
|
||
staged = '[++\($count\)](green)'
|
||
renamed = '👅'
|
||
deleted = '🗑'
|
||
|
||
[golang]
|
||
format = 'via [🏎💨 $version](bold cyan) '
|
||
|
||
[localip]
|
||
ssh_only = false
|
||
format = '@[$localipv4](bold red) '
|
||
disabled = false
|
||
|
||
[memory_usage]
|
||
disabled = false
|
||
threshold = -1
|
||
symbol = ' '
|
||
style = 'bold dimmed green'
|
||
|
||
[status]
|
||
# style = 'bg:blue'
|
||
symbol = '🔴 '
|
||
success_symbol = '🟢'
|
||
format = '[\[$symbol$common_meaning$signal_name$maybe_int\]]($style) '
|
||
map_symbol = true
|
||
disabled = false
|
||
|
||
[sudo]
|
||
style = 'bold green'
|
||
symbol = '👩💻 '
|
||
disabled = false
|
||
|
||
[username]
|
||
style_user = 'white bold'
|
||
style_root = 'black bold'
|
||
format = '[$user]($style)'
|
||
disabled = false
|
||
show_always = true
|
||
aliases = { "buymymojo" = "Aria" }
|
||
|
||
|