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"