From d6814be0ba35dd52f6f0d0e1a3f14d5f106efd63 Mon Sep 17 00:00:00 2001 From: Kevin Boshold Date: Sun, 13 Oct 2024 22:21:31 +0200 Subject: [PATCH] fix(fish): add missing arguments for fish transient prompt functions (#6181) Fixes #6180 --- src/init/starship.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/init/starship.fish b/src/init/starship.fish index ac3930df1..0b847042c 100644 --- a/src/init/starship.fish +++ b/src/init/starship.fish @@ -16,7 +16,7 @@ function fish_prompt # See https://github.com/fish-shell/fish-shell/issues/8418 printf \e\[0J if type -q starship_transient_prompt_func - starship_transient_prompt_func + starship_transient_prompt_func --terminal-width="$COLUMNS" --status=$STARSHIP_CMD_STATUS --pipestatus="$STARSHIP_CMD_PIPESTATUS" --keymap=$STARSHIP_KEYMAP --cmd-duration=$STARSHIP_DURATION --jobs=$STARSHIP_JOBS else printf "\e[1;32m❯\e[0m " end @@ -40,7 +40,7 @@ function fish_right_prompt if test "$RIGHT_TRANSIENT" = "1" set -g RIGHT_TRANSIENT 0 if type -q starship_transient_rprompt_func - starship_transient_rprompt_func + starship_transient_rprompt_func --terminal-width="$COLUMNS" --status=$STARSHIP_CMD_STATUS --pipestatus="$STARSHIP_CMD_PIPESTATUS" --keymap=$STARSHIP_KEYMAP --cmd-duration=$STARSHIP_DURATION --jobs=$STARSHIP_JOBS else printf "" end