From e990d233e5a85aaee927959cf358ca8ce09b8142 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 4 Mar 2022 20:54:26 +0530 Subject: [PATCH] ooops --- shell-integration/bash/kitty.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell-integration/bash/kitty.bash b/shell-integration/bash/kitty.bash index e48966e69..dac4f1d81 100644 --- a/shell-integration/bash/kitty.bash +++ b/shell-integration/bash/kitty.bash @@ -53,7 +53,7 @@ _ksi_inject() { } _ksi_inject builtin unset -f _ksi_inject -if [ -n "$_ksi_prompt[sourced]" ]; then +if [[ "$_ksi_prompt[sourced]" != "[sourced]" ]]; then # we have already run builtin unset KITTY_SHELL_INTEGRATION builtin return;