mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-12 19:49:32 +02:00
Fix sourcing of shell integration changing $? on bash/zsh
This commit is contained in:
@@ -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
|
||||
'''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user