From 214da3ea55608f2f0c7b502ba646063c6cab0f75 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Wed, 13 Dec 2023 12:22:03 -0500 Subject: [PATCH] Re-order and cleanup starship --- fake_home/.config/starship.toml | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/fake_home/.config/starship.toml b/fake_home/.config/starship.toml index 504031d..6815efa 100644 --- a/fake_home/.config/starship.toml +++ b/fake_home/.config/starship.toml @@ -6,6 +6,12 @@ $hostname\ $shlvl\ $kubernetes\ $directory\ +$git_branch\ +$git_commit\ +$git_state\ +$git_metrics\ +$git_status\ +$hg_branch\ $vcsh\ $java\ $nodejs\ @@ -34,12 +40,6 @@ $terraform\ $vlang\ $vagrant\ $zig\ -$git_branch\ -$git_commit\ -$git_state\ -$git_metrics\ -$git_status\ -$hg_branch\ $docker_context\ $cmake\ $nix_shell\ @@ -92,3 +92,17 @@ discharging_symbol = " " # threshold = 100 # style = "green" # discharging_symbol = " " + +# [git_branch] +# format = "\n on [$symbol$branch(:$remote_branch)]($style) " + +[directory.substitutions] +'~/git/' = '' + +# [custom.in-project-dir] +# command = '/home/sagevaillancourt/.in_project_dir.sh' +# when = true +# style = 'bold red' + +[dotnet] +format = 'via [$symbol($version) (◎ $tfm )]($style)'