From 2fd7a84165017737c67984653970783ca15f4ab8 Mon Sep 17 00:00:00 2001 From: Ethan Paul Date: Thu, 6 Nov 2025 16:53:56 -0500 Subject: [PATCH] Finalize initial starship config --- starship.toml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 starship.toml diff --git a/starship.toml b/starship.toml new file mode 100644 index 0000000..cabe373 --- /dev/null +++ b/starship.toml @@ -0,0 +1,48 @@ +add_newline = false + +format = '${custom.toolbox}${custom.localhost}[](bold fg:#01568e bg:#000000)$directory$python$git_branch$git_status$status$character' + +[directory] +format = "[](fg:#000000 bg:#444444)[$read_only]($read_only_style)[$path ]($style)[](fg:#444444 bg:#000000)" +style = "fg:bright-white bg:#444444" +read_only = '' +read_only_style = "bold fg:bright-red bg:#444444" +truncation_symbol = ' ' +home_symbol = '' +[directory.substitutions] +'/' = '  ' + +[character] +success_symbol = '' +error_symbol = '[](bold fg:#6d0505)' + +[status] +disabled = false +symbol = '' +pipestatus = true +style = "bold fg:bright-white bg:#6d0505" +format = '[](bold fg:#000000 bg:#6d0505)[ $status ]($style)' + +[git_branch] +symbol = '' +format = '[](bold fg:#000000 bg:#44b240)[$symbol $branch]($style)[](bold bg:#000000 fg:#44b240)' +style = 'bold bg:#44b240 fg:black' + +[git_status] +style = "bold fg:black bg:#f4862c" +format = '([](bold fg:#000000 bg:#f4862c)[$all_status$ahead_behind]($style)[](bold bg:#000000 fg:#f4862c))' + +[python] +style = 'bold bg:#fcf52a fg:black' +symbol = '' +format = '[](bold fg:#000000 bg:#fcf52a)[$symbol( $virtualenv)]($style)[](bold bg:#000000 fg:#fcf52a)' + +[custom.toolbox] +style = "bold bg:#01568e fg:bright-white" +command = "echo -ne 'toolbox '" +when = '[ -f /run/.toolboxenv ]' + +[custom.localhost] +style = "bold bg:#01568e fg:bright-white" +command = "echo -ne $HOSTNAME " +when = '[ ! -f /run/.toolboxenv ]'