This commit is contained in:
Kovid Goyal 2023-03-27 07:51:56 +05:30
commit cb03168957
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -226,7 +226,7 @@ exec_login_shell() {
;;
(*)
# not blank
printf "%s" "$KITTY_SHELL_INTEGRATION" | command grep '\bno-rc\b' || exec_with_shell_integration
printf "%s" "$KITTY_SHELL_INTEGRATION" | command grep -q '\bno-rc\b' || exec_with_shell_integration
# either no-rc or exec failed
unset KITTY_SHELL_INTEGRATION
;;