feat(starship): minor redesign
This commit is contained in:
parent
58c5e27be3
commit
06c22928a8
1 changed files with 5 additions and 15 deletions
|
@ -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,18 +83,14 @@ 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'
|
||||||
disabled = true
|
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,14 +132,8 @@ 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'
|
||||||
ahead = ' '
|
ahead = ' '
|
||||||
behind = ' '
|
behind = ' '
|
||||||
|
|
Loading…
Reference in a new issue