mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 00:36:07 +03:00
Merge pull request #2478 from jparise/bash-preexec-histcontrol
bash: stop modifying HISTCONTROL in bash-preexec.sh
This commit is contained in:
@ -310,7 +310,13 @@ __bp_install() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Adjust our HISTCONTROL Variable if needed.
|
# Adjust our HISTCONTROL Variable if needed.
|
||||||
__bp_adjust_histcontrol
|
#
|
||||||
|
# GHOSTTY: Don't modify HISTCONTROL. This hack is only needed to improve the
|
||||||
|
# accuracy of the command argument passed to the preexec functions, and we
|
||||||
|
# don't use that argument in our bash shell integration script (and nor does
|
||||||
|
# the __bp_original_debug_trap function above, which is the only other active
|
||||||
|
# preexec function).
|
||||||
|
#__bp_adjust_histcontrol
|
||||||
|
|
||||||
# Issue #25. Setting debug trap for subshells causes sessions to exit for
|
# Issue #25. Setting debug trap for subshells causes sessions to exit for
|
||||||
# backgrounded subshell commands (e.g. (pwd)& ). Believe this is a bug in Bash.
|
# backgrounded subshell commands (e.g. (pwd)& ). Believe this is a bug in Bash.
|
||||||
|
Reference in New Issue
Block a user