41 lines
935 B
TOML
41 lines
935 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
|
|
|
|
[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'
|
|
error_symbol = '[\$](bold red)'
|
|
|
|
[cmd_duration]
|
|
disabled = true
|
|
|
|
[directory]
|
|
truncation_length = 0
|
|
format = '[$path]($style)[$read_only]($read_only_style)\] '
|
|
|
|
[docker_context]
|
|
symbol = ' '
|
|
format = '[\[$symbol$context\]]($style) '
|
|
style = 'bold red'
|
|
|
|
[git_branch]
|
|
format = '[\[$symbol$branch\]]($style) '
|
|
symbol = ' '
|
|
|
|
[golang]
|
|
format = '[\[$symbol$version\]]($style) '
|
|
|
|
[hostname]
|
|
format = '[@$hostname$ssh_symbol:]($style)'
|
|
style = 'yellow'
|
|
ssh_only = false
|
|
|
|
[package]
|
|
disabled = true
|
|
|
|
[username]
|
|
format = '\[[$user]($style)'
|
|
style_user = 'yellow'
|
|
show_always = true
|