46 lines
1.1 KiB
TOML
46 lines
1.1 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
|
||
|
||
# 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'
|
||
|
||
# Disable the package module, hiding it from the prompt completely
|
||
[package]
|
||
disabled = true
|
||
|
||
# Use custom format
|
||
format = '''
|
||
[┌───────────────────>](bold green)
|
||
[│](bold green)$directory
|
||
[└─>](bold green) '''
|
||
|
||
# Wait 10 milliseconds for starship to check files under the current directory.
|
||
scan_timeout = 10
|
||
|
||
# Set 'foo' as custom color palette
|
||
palette = 'foo'
|
||
|
||
# Define custom colors
|
||
[palettes.foo]
|
||
# Overwrite existing color
|
||
blue = '21'
|
||
# Define new color
|
||
mustard = '#af8700'
|
||
|
||
[git_status]
|
||
conflicted = '🏳'
|
||
ahead = '🏎💨'
|
||
behind = '😰'
|
||
diverged = '😵'
|
||
up_to_date = '✓(green)'
|
||
untracked = '🤷'
|
||
stashed = '📦'
|
||
modified = '📝'
|
||
staged = '[++\($count\)](green)'
|
||
renamed = '👅'
|
||
deleted = '🗑'
|