This commit is contained in:
Kovid Goyal
2022-03-04 20:54:26 +05:30
parent a7cdcfcc16
commit e990d233e5

View File

@@ -53,7 +53,7 @@ _ksi_inject() {
} }
_ksi_inject _ksi_inject
builtin unset -f _ksi_inject builtin unset -f _ksi_inject
if [ -n "$_ksi_prompt[sourced]" ]; then if [[ "$_ksi_prompt[sourced]" != "[sourced]" ]]; then
# we have already run # we have already run
builtin unset KITTY_SHELL_INTEGRATION builtin unset KITTY_SHELL_INTEGRATION
builtin return; builtin return;