diff --git a/kitty/shell_integration.py b/kitty/shell_integration.py index a26e52169..ca5ccc8df 100644 --- a/kitty/shell_integration.py +++ b/kitty/shell_integration.py @@ -17,7 +17,7 @@ from .utils import log_error, resolved_shell posix_template = ''' # BEGIN_KITTY_SHELL_INTEGRATION -test -e {path} && source {path} +if test -e {path}; then source {path}; fi # END_KITTY_SHELL_INTEGRATION '''