feat(starship): minor redesign

This commit is contained in:
winston 2023-11-08 01:02:22 +01:00
parent 58c5e27be3
commit 06c22928a8
Signed by: winston
GPG key ID: 3786770EDBC2B481

View file

@ -1,6 +1,7 @@
'$schema' = 'https://starship.rs/config-schema.json' '$schema' = 'https://starship.rs/config-schema.json'
format = """ format = """
[](surface2)\
$directory\ $directory\
$username\ $username\
$hostname\ $hostname\
@ -58,8 +59,6 @@ $vagrant\
$vlang\ $vlang\
$zig\ $zig\
\ \
$fill \
\
(${env_var.incognito}\ (${env_var.incognito}\
$package\ $package\
$nix_shell\ $nix_shell\
@ -72,6 +71,7 @@ $terraform)\
$line_break\ $line_break\
\ \
$shell\ $shell\
[](surface2)\
$character""" $character"""
add_newline = true add_newline = true
@ -83,10 +83,6 @@ success_symbol = '[λ](bold text)'
error_symbol = '[λ](bold red)' error_symbol = '[λ](bold red)'
vimcmd_symbol = '[](bold cyan)' vimcmd_symbol = '[](bold cyan)'
[fill]
style = 'surface2'
symbol = '┈'
[time] [time]
format = ' [$time]($style) ' format = ' [$time]($style) '
style = 'fg:subtext0' style = 'fg:subtext0'
@ -94,7 +90,7 @@ disabled = true
[directory] [directory]
format = '[$path ]($style)[($read_only)]($read_only_style)' format = '[$path ]($style)[($read_only)]($read_only_style)'
style = 'fg:red' style = 'fg:red italic'
read_only = ' ' read_only = ' '
read_only_style = 'fg:red' read_only_style = 'fg:red'
truncate_to_repo = true truncate_to_repo = true
@ -136,12 +132,6 @@ format = '[\[$state($progress_current/$progress_total)\] ]($style)'
style = 'fg:peach' style = 'fg:peach'
disabled = false disabled = false
[git_metrics]
format = '[+$added]($added_style)[/](fg:peach )[-$deleted ]($deleted_style)'
added_style = 'fg:peach'
deleted_style = 'fg:peach'
disabled = false
[git_status] [git_status]
format = '[$all_status$ahead_behind]($style)' format = '[$all_status$ahead_behind]($style)'
style = 'fg:peach' style = 'fg:peach'