diff --git a/home/programs/starship.nix b/home/programs/starship.nix index 7c4008a..37c9e64 100644 --- a/home/programs/starship.nix +++ b/home/programs/starship.nix @@ -9,8 +9,14 @@ settings = { add_newline = true; + character = { + success_symbol = "[󰘧](bold green)"; + error_symbol = "[󰘧](bold red)"; + }; + cmd_duration = { - format = "\\[[ $duration]($style)\\]"; + style = "yellow"; + format = "[ $duration]($style)"; }; docker_context = { @@ -102,6 +108,9 @@ username = { format = "\\[[ $user]($style)\\]"; }; + + format = "$all"; + right_format = "$cmd_duration"; }; }; @@ -109,5 +118,9 @@ function starship_transient_prompt_func starship module character end + + function starship_transient_rprompt_func + starship module cmd_duration + end ''; }