Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bash: stop modifying HISTCONTROL in bash-preexec.sh #2478

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

jparise
Copy link
Collaborator

@jparise jparise commented Oct 23, 2024

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).

See also:

Fixes #2269

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).

See also:
- rcaloras/bash-preexec#147
- rcaloras/bash-preexec#115

Fixes #2269
@mitchellh
Copy link
Contributor

Fantastic, thank you so much for your dedication to this. ❤️

@mitchellh mitchellh merged commit 56cbd45 into ghostty-org:main Oct 23, 2024
5 checks passed
@mitchellh mitchellh deleted the bash-preexec-histcontrol branch October 23, 2024 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bash shell integration resets HISTCONTROL
2 participants