diff --git a/src/nu-git-manager-sugar/git/prompt.nu b/src/nu-git-manager-sugar/git/prompt.nu index cb33994..2b7bb02 100644 --- a/src/nu-git-manager-sugar/git/prompt.nu +++ b/src/nu-git-manager-sugar/git/prompt.nu @@ -62,7 +62,7 @@ const DEFAULT_PROMPT_INDICATORS = { export def --env setup [ --indicators = $DEFAULT_PROMPT_INDICATORS, --duration-threshold: duration = 1sec # the threshold above which the command duration is shown -] { +]: nothing -> nothing { $env.PROMPT_COMMAND = { get-left-prompt $duration_threshold } $env.PROMPT_COMMAND_RIGHT = ""