update starship config

This commit is contained in:
Norman Köhring 2024-07-14 21:11:59 +02:00
parent a322c5cdd5
commit f0786f6bec

View file

@ -74,11 +74,13 @@ $terraform\
$vlang\ $vlang\
$vagrant\ $vagrant\
$zig\ $zig\
[ ](fg:color_fg0 bg:color_bg3)\ [ ](fg:color_blue bg:color_bg3)\
$package\
$memory_usage\ $memory_usage\
$custom\ $custom\
$jobs\ $jobs\
$container\ $container\
[ ](fg:color_aqua bg:color_blue)\
""" """
add_newline = true add_newline = true
@ -86,6 +88,7 @@ palette = 'gruvbox_dark'
[palettes.gruvbox_dark] [palettes.gruvbox_dark]
color_fg0 = '#fbf1c7' color_fg0 = '#fbf1c7'
color_fg1 = '#b9b0a0'
color_bg1 = '#3c3836' color_bg1 = '#3c3836'
color_bg2 = '#444444' color_bg2 = '#444444'
color_bg3 = '#665c54' color_bg3 = '#665c54'
@ -147,7 +150,7 @@ format = "[$user]($style) ▻ "
disabled = false disabled = false
[directory] [directory]
home_symbol = "󰋜 " home_symbol = " 󰋜 "
truncation_length = 3 truncation_length = 3
truncation_symbol = "…/" truncation_symbol = "…/"
truncate_to_repo = true truncate_to_repo = true
@ -165,12 +168,11 @@ format = '[$path]($style)[$read_only]($read_only_style)'
[cmd_duration] [cmd_duration]
min_time = 500 min_time = 500
format = "[$duration ](italic bright-yellow)" format = "[ $duration ](italic bright-yellow)"
[jobs] [jobs]
format = "[ $symbol$number]($style)" format = '[ job(s \($number\)) ]($style)'
style = "white" style = "fg:color_fg1 bg:color_blue"
symbol = "[▶ ](blue italic)"
[localip] [localip]
ssh_only = true ssh_only = true
@ -226,112 +228,137 @@ renamed = "◎◦"
deleted = "✕ " deleted = "✕ "
[deno] [deno]
format = " deno [∫ $version](blue italic)" symbol = "🦕 "
style = "fg:color_fg1 bg:color_bg3"
version_format = "${major}.${minor}" version_format = "${major}.${minor}"
format = "[ ${symbol}${version} ]($style)"
[lua] [lua]
format = " lua [${symbol}${version}]($style)" symbol = " "
symbol = "⨀ " style = "fg:color_fg1 bg:color_bg3"
style = "italic bright-yellow" format = "[ ${symbol}${version} ]($style)"
[nodejs] [nodejs]
format = "[ ${symbol}${version} ]($style)" symbol = " "
symbol = "[ ](color_fg0 bg:color_bg3)" style = "fg:color_fg1 bg:color_bg3"
detect_files = ["package-lock.json", "yarn.lock"]
version_format = "${major}.${minor}" version_format = "${major}.${minor}"
style = "italic color_fg0 bg:color_bg3" format = "[ ${symbol}${version} ]($style)"
detect_files = ["package-lock.json", "yarn.lock", "pnpm-lock.json"]
[python] [python]
format = "[${symbol}${version}]($style)" symbol = " "
symbol = "[ ](italic bright-blue)" style = "fg:color_fg1 bg:color_bg3"
version_format = "${major}.${minor}" version_format = "${major}.${minor}"
style = "italic bright-yellow" format = "[ $symbol($version) ]($style)"
[ruby] [ruby]
format = " rb [${symbol}${version}]($style)" symbol = " "
symbol = "◆ " style = "fg:color_fg1 bg:color_bg3"
version_format = "${major}.${minor}" version_format = "${major}.${minor}"
style = "italic red" format = "[ $symbol($version) ]($style)"
[rust] [rust]
format = " rs [$symbol$version]($style)" symbol = " "
symbol = "⊃ " style = "fg:color_fg1 bg:color_bg3"
version_format = "${major}.${minor}" version_format = "${major}.${minor}"
style = "italic red" format = "[ $symbol($version) ]($style)"
[package] [package]
format = " pkg [$symbol$version]($style)" symbol = "📦 "
style = "fg:color_fg1 bg:color_blue"
version_format = "${major}.${minor}" version_format = "${major}.${minor}"
symbol = "◫ " format = "[ $symbol($version) ]($style)"
style = "bright-yellow italic"
[swift] [swift]
format = " sw [${symbol}${version}]($style)" symbol = " "
symbol = "◁ " style = "fg:color_fg1 bg:color_bg3"
style = "italic bright-red"
version_format = "${major}.${minor}" version_format = "${major}.${minor}"
format = "[ $symbol($version) ]($style)"
[aws] [aws]
format = " aws [$symbol $profile $region]($style)" symbol = " "
style = "italic blue" format = "[ $symbol $profile $region ]($style)"
symbol = "▲ " style = "fg:color_fg1 bg:color_bg3"
[buf] [buf]
symbol = "■ " symbol = " "
format = " buf [$symbol $version $buf_version]($style)" format = "[ buf $symbol ($version )$buf_version ]($style)"
style = "fg:color_fg1 bg:color_bg3"
[c] [c]
symbol = "∁ " symbol = "∁ "
format = " c [$symbol($version(-$name))]($style)" style = "fg:color_fg1 bg:color_bg3"
format = "[ $symbol($version(-$name))]($style)"
[conda] [conda]
symbol = "◯ " symbol = "◯ "
format = " conda [$symbol$environment]($style)" style = "fg:color_fg1 bg:color_bg3"
format = "[ conda $symbol$environment]($style)"
[dart] [dart]
symbol = "◁◅ " symbol = " "
format = " dart [$symbol($version )]($style)" style = "fg:color_fg1 bg:color_bg3"
format = "[ $symbol($version) ]($style)"
[docker_context] [docker_context]
symbol = " " symbol = " "
format = " docker [$symbol$context]($style)" format = "[ $symbol$context ]($style)"
[elixir] [elixir]
symbol = "△ " symbol = " "
format = " exs [$symbol $version OTP $otp_version ]($style)" style = "fg:color_fg1 bg:color_bg3"
format = "[ $symbol $version OTP $otp_version ]($style)"
[elm] [elm]
symbol = "◩ " symbol = " "
format = " elm [$symbol($version )]($style)" style = "fg:color_fg1 bg:color_bg3"
format = "[ $symbol($version) ]($style)"
[golang] [golang]
symbol = "∩ " symbol = "󰟓 "
format = " go [$symbol($version )]($style)" style = "fg:color_fg1 bg:color_bg3"
format = "[ $symbol($version) ]($style)"
[haskell] [haskell]
symbol = "❯λ " symbol = "󰲒 "
format = " hs [$symbol($version )]($style)" style = "fg:color_fg1 bg:color_bg3"
format = "[ $symbol($version) ]($style)"
[java] [java]
symbol = " " symbol = "󰬷 "
format = " java [${symbol}(${version} )]($style)" style = "fg:color_fg1 bg:color_bg3"
format = "[ $symbol($version) ]($style)"
[julia] [julia]
symbol = "◎ " symbol = " "
format = " jl [$symbol($version )]($style)" style = "fg:color_fg1 bg:color_bg3"
format = "[ $symbol($version) ]($style)"
[memory_usage] [memory_usage]
symbol = "▪▫▪ " symbol = "▪▫▪ "
format = " mem [${ram}( ${swap})]($style)" format = " mem [${ram}( ${swap})]($style)"
[nim] [nim]
symbol = "▴▲▴ " symbol = " "
format = " nim [$symbol($version )]($style)" style = "fg:color_fg1 bg:color_bg3"
format = "[ $symbol($version) ]($style)"
[nix_shell] [nix_shell]
symbol = "⊛ " symbol = "󱄅 "
format = " nix [$symbol$state $name]($style)" style = "fg:color_fg1 bg:color_bg3"
format = "[ $symbol$state $name]($style)"
[spack] [spack]
symbol = "◇ " symbol = "◇ "
format = " spack [$symbol$environment]($style)" style = "fg:color_fg1 bg:color_bg3"
format = "[ spack $symbol$environment ]($style)"
[vlang]
symbol = "V"
style = "fg:color_fg1 bg:color_bg3"
format = "[ $symbol($version) ]($style)"
[zig]
symbol = " "
style = "fg:color_fg1 bg:color_bg3"
format = "[ $symbol($version) ]($style)"