refactor(starship): reduce startup time

chezmoi
sgoudham 2 years ago
parent d4762acdce
commit 19f60bfefc
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -2,7 +2,7 @@
"$schema" = 'https://starship.rs/config-schema.json' "$schema" = 'https://starship.rs/config-schema.json'
format = """ format = """
${custom.top}\ \
$username\ $username\
$hostname\ $hostname\
$localip\ $localip\
@ -72,24 +72,23 @@ $sudo\
$cmd_duration\ $cmd_duration\
$line_break\ $line_break\
$jobs\ $jobs\
$battery\
$time\ $time\
$status\ $status\
$container\ $container\
$shell\ $shell\
${custom.bottom}\ \
$character""" $character"""
[custom.top] # [custom.top]
symbol = "┌ " # symbol = "┌ "
style = "bold black" # style = "bold black"
when = true # when = true
#
[custom.bottom] # [custom.bottom]
symbol = "└ " # symbol = "└ "
style = "bold black" # style = "bold black"
when = true # when = true
#
[character] # The name of the module we are configuring is "character" [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" success_symbol = "[\\$](bold green)" # The "success_symbol" segment is being set to "➜" with the color "bold green"
error_symbol = "[\\$](bold red)" # The "success_symbol" segment is being set to "➜" with the color "bold green" error_symbol = "[\\$](bold red)" # The "success_symbol" segment is being set to "➜" with the color "bold green"

Loading…
Cancel
Save