mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-31 14:22:33 +00:00
Fix sourcing of shell integration changing $? on bash/zsh
This commit is contained in:
parent
73465aa44b
commit
1e0269faa2
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue