Merge branch 'bash-inherit_errexit' of https://github.com/grimm26/kovidgoyal-kitty

This commit is contained in:
Kovid Goyal
2022-08-29 19:47:24 +05:30

View File

@@ -23,7 +23,7 @@ if [[ -n "$KITTY_BASH_INJECT" ]]; then
}
else
builtin set +o posix
builtin shopt -u inherit_errexit # resetting posix does not clear this
builtin shopt -u inherit_errexit 2>/dev/null # resetting posix does not clear this
if [[ -n "$KITTY_BASH_UNEXPORT_HISTFILE" ]]; then
builtin export -n HISTFILE
builtin unset KITTY_BASH_UNEXPORT_HISTFILE