From 19f60bfefc201550e8c506ab135c4d8391bbde9a Mon Sep 17 00:00:00 2001 From: sgoudham Date: Sun, 5 Feb 2023 03:42:59 +0000 Subject: [PATCH] refactor(starship): reduce startup time --- dot_config/starship.toml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/dot_config/starship.toml b/dot_config/starship.toml index f51e800..5d8652e 100644 --- a/dot_config/starship.toml +++ b/dot_config/starship.toml @@ -2,7 +2,7 @@ "$schema" = 'https://starship.rs/config-schema.json' format = """ -${custom.top}\ +┌ \ $username\ $hostname\ $localip\ @@ -72,24 +72,23 @@ $sudo\ $cmd_duration\ $line_break\ $jobs\ -$battery\ $time\ $status\ $container\ $shell\ -${custom.bottom}\ +└ \ $character""" -[custom.top] -symbol = "┌ " -style = "bold black" -when = true - -[custom.bottom] -symbol = "└ " -style = "bold black" -when = true - +# [custom.top] +# symbol = "┌ " +# style = "bold black" +# when = true +# +# [custom.bottom] +# symbol = "└ " +# style = "bold black" +# when = true +# [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" error_symbol = "[\\$](bold red)" # The "success_symbol" segment is being set to "➜" with the color "bold green"