Skip to content

Commit

Permalink
fix signature of prompt setup
Browse files Browse the repository at this point in the history
  • Loading branch information
amtoine committed Dec 13, 2023
1 parent e5155e3 commit d2e0c07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nu-git-manager-sugar/git/prompt.nu
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""

Expand Down

0 comments on commit d2e0c07

Please sign in to comment.