From 37cc1a3d8350fd22a2b99d54a3e83dde95dc7def Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 18 Oct 2025 12:58:43 +0200 Subject: [PATCH] nu: Enable transient prompt Enabled transient prompt for nushell so we only display the line character and attempt to display command durations for past prompts. Not sure if command duration is working correctly. If not, might have to revert this change. --- terminal/.config/nushell/config.nu | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/terminal/.config/nushell/config.nu b/terminal/.config/nushell/config.nu index f7521ff..2f3484e 100644 --- a/terminal/.config/nushell/config.nu +++ b/terminal/.config/nushell/config.nu @@ -16,7 +16,10 @@ $env.config.edit_mode = "vi" $env.config.completions.algorithm = "fuzzy" $env.PROMPT_INDICATOR = "" -$env.PROMPT_MULTILINE_INDICATOR = "::: " +$env.PROMPT_MULTILINE_INDICATOR = "::: " # overwritten by starship +# enable transient prompt with starship +$env.TRANSIENT_PROMPT_COMMAND = ^starship module character +$env.TRANSIENT_PROMPT_COMMAND_RIGHT = {|| ^starship module cmd_duration } # FIXME: Disabled for now to use starship prompts instead # but still very buggy. See: