Fix sourcing of shell integration changing $? on bash/zsh
This commit is contained in:
parent
73465aa44b
commit
1e0269faa2
@ -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
|
||||
'''
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user