From d916dbad93d47858cc40a1da5ddda9a64aa3aa44 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Mon, 8 Feb 2021 16:37:32 +0100 Subject: [PATCH] Update starship config - toolbox command ~> symbol - switch order in prompt Signed-off-by: Matej Focko --- playbooks/roles/shell/templates/starship.toml.j2 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/playbooks/roles/shell/templates/starship.toml.j2 b/playbooks/roles/shell/templates/starship.toml.j2 index 1abe653..14b3bae 100644 --- a/playbooks/roles/shell/templates/starship.toml.j2 +++ b/playbooks/roles/shell/templates/starship.toml.j2 @@ -6,10 +6,10 @@ $git_branch\ $git_commit\ $git_state\ $git_status\ -$cmd_duration\ +$nix_shell\ $jobs\ $time\ -$nix_shell\ +$cmd_duration\ $line_break\ $directory\ $character""" @@ -32,11 +32,11 @@ format = "at [$time]($style) " [directory] format = "[$path]($style)[$read_only]($read_only_style) " +[custom.toolbox] +when = "ls /run/.containerenv" +symbol = " " +style = "bold purple" + [character] success_symbol = "[\\$](bold green)" error_symbol = "[\\$](bold red)" - -[custom.toolbox] -when = "ls /run/.containerenv" -command = "echo " -style = "bold purple"