36 lines
805 B
TOML
36 lines
805 B
TOML
|
# ~/.config/starship.toml
|
||
|
|
||
|
# Inserts a blank line between shell prompts
|
||
|
add_newline = true
|
||
|
|
||
|
# Change the default prompt format
|
||
|
format = """\
|
||
|
[╭╴](238)$env_var\
|
||
|
$all[╰─](238)$character"""
|
||
|
|
||
|
# Change the default prompt characters
|
||
|
[character]
|
||
|
success_symbol = "[](238)"
|
||
|
error_symbol = "[](238)"
|
||
|
|
||
|
# Shows the username
|
||
|
[username]
|
||
|
style_user = "white bold"
|
||
|
style_root = "black bold"
|
||
|
format = "者 [$user]($style) "
|
||
|
disabled = false # disable in powershell
|
||
|
show_always = true
|
||
|
|
||
|
[hostname]
|
||
|
ssh_only = false
|
||
|
format = "on [$hostname](bold yellow) "
|
||
|
disabled = false
|
||
|
|
||
|
[directory]
|
||
|
truncation_length = 3
|
||
|
truncation_symbol = "…/"
|
||
|
home_symbol = " ~"
|
||
|
read_only_style = "197"
|
||
|
read_only = " "
|
||
|
format = "at [$path]($style)[$read_only]($read_only_style) "
|