Releases: rcaloras/bash-preexec
Releases · rcaloras/bash-preexec
Black Toad
Shout out @jparise for most of the recent contributions, and @akinomyoga for continuing to support this project with reviews and direction.
What's Changed
- Use POSIX syntax for Bash detection by @gaelicWizard in #127
- Fix typo in README: our -> your by @ayeseeem in #133
- Update to remove shellcheck warnings by @adamprice2 in #135
- Check Bash version 3.1+ by @akinomyoga in #136
- Addtional fixes for
shellcheck
by @akinomyoga in #137 - Try to better handle external modification to
$PROMPT_COMMAND
by @gaelicWizard in #128 - Support the array PROMPT_COMMAND (bash >= 5.1) by @akinomyoga in #141
- Fix the test for the Bash version for shellcheck by @akinomyoga in #142
- Don't load if old version already present (Fixes #146) by @jimwins in #150
- Fix false-negative test case for __bp_install by @akinomyoga in #151
- Exclude the
bind -x
commands from interactive commands by @akinomyoga in #152 - Fix indentation and remove trailing semicolons by @akinomyoga in #165
- GitHub workflow: Update runner 20.04 -> 24.04 by @ilya-bobyr in #171
- Retire .travis.yml by @jparise in #168
- Improve prior_trap processing by @jparise in #170
- Remove dependency on sed(1) for history processing by @jparise in #167
New Contributors
- @ayeseeem made their first contribution in #133
- @adamprice2 made their first contribution in #135
- @akinomyoga made their first contribution in #136
- @jimwins made their first contribution in #150
- @ilya-bobyr made their first contribution in #171
- @jparise made their first contribution in #168
Full Changelog: 0.5.0...0.6.0
Navy Goldfish
- Added
bash_preexec_imported
for checking if bash-preexec is present. deprecated__bp_imported
variable in favor of new public variable - restore original
$?
inPROMPT_COMMAND
for access to other functions usingPROMPT_COMMAND
still.$?
is already available in precmd functions.
Purple Seal
Yellow Sheep
- Fixes for #97 to allow bash-preexec to be included at any point in bash profile
- Numerous other small improvements and tweaks
Green Owl
Lime Elephant
Bugfix release for #61
Shout outs to @lguelorget for submitting the PR to fix this. 👍 💯 🙏
Red Oyster
- Bugfix release fixing #58 and an issue causing crashes on installation.
White Swan
- Preserve preexisting
PROMPT_COMMAND
asprecmd
function andDEBUG
trap as apreexec
function - Preexec returns last error code from preexec functions
- Specify using builtin history in case users alias history. Fixes #55 and addresses https://gitlab.com/gnachman/iterm2/issues/6063
- Couple of test fixes.
Shout outs to @dimo414 and @jombooth for PRs in this cut 👍 🙏 🎉
Silver Pigeon
- Preserve return value of last function in preexec
- Remove trailing semicolon on
PROMPT_COMMAND
to allow appending - Couple of test fixes
Shout outs to @brandonweeks for the multiple PRs that make up this cut. 👍 💯
Sapphire Boa
- Stop clobbering $_ and make available for precmd functions.
- Worked around bug that was always overwriting the $_ variable in bash to be
__bp_preexec_invoke_exec
- $_ is now available again in bash and in precmd functions.
- Worked around bug that was always overwriting the $_ variable in bash to be