Releases: rcaloras/bash-preexec
Releases · rcaloras/bash-preexec
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
Fuschia Bear
- Disabling subshell support by default. It can be enabled by setting
__bp_enable_subshells="true"
It should be considered experimental as users have noticed issues with it closing terminals (i.e. #25)