Fix sourcing of shell integration changing $? on bash/zsh

This commit is contained in:
Kovid Goyal
2021-07-23 22:40:06 +05:30
parent 73465aa44b
commit 1e0269faa2

View File

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