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

This commit is contained in:
Kovid Goyal
2021-08-18 10:06:08 +05:30
parent 73465aa44b
commit 1e0269faa2
+1 -1
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
'''