mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-02 17:48:10 +00:00
38 lines
973 B
TOML
38 lines
973 B
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
|
||
|
||
# Timeout for commands executed by starship (in milliseconds).
|
||
command_timeout = 1000
|
||
|
||
# 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'
|
||
|
||
[cmd_duration]
|
||
disabled = true
|
||
|
||
[git_branch]
|
||
symbol = '🌱 '
|
||
truncation_length = 20
|
||
truncation_symbol = '…'
|
||
ignore_branches = ['master', 'main']
|
||
|
||
[git_status]
|
||
up_to_date = '✓'
|
||
staged = '[++\($count\)](green)'
|
||
|
||
[package]
|
||
format = '[$symbol($version )]($style)'
|
||
version_format = '${major}.${minor}'
|
||
|
||
[php]
|
||
format = '[$symbol($version )]($style)'
|
||
version_format = '${major}.${minor}'
|
||
|
||
[nodejs]
|
||
format = '[$symbol($version )]($style)'
|
||
version_format = '${major}.${minor}'
|