This commit is contained in:
Kovid Goyal 2022-03-04 20:54:26 +05:30
parent a7cdcfcc16
commit e990d233e5
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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;