Skip to content

Releases: rcaloras/bash-preexec

Navy Goldfish

20 Apr 18:26
da64ad4
Compare
Choose a tag to compare
  • Added bash_preexec_imported for checking if bash-preexec is present. deprecated __bp_imported variable in favor of new public variable
  • restore original $? in PROMPT_COMMAND for access to other functions using PROMPT_COMMAND still. $? is already available in precmd functions.

Purple Seal

16 Sep 15:32
7884535
Compare
Choose a tag to compare
  • Efficiency and speed improvements in preexec's critical path. Replaced command substitution with writing to variables in #112. Some initial bench marking showed at least ~2x speed improvement. Shout out to @dimo414 for the PR and contributions.

Yellow Sheep

22 Aug 16:59
Compare
Choose a tag to compare
  • Fixes for #97 to allow bash-preexec to be included at any point in bash profile
  • Numerous other small improvements and tweaks

Green Owl

15 Jan 03:47
Compare
Choose a tag to compare

Bugfix release for #64 where setting IFS could break function invocation
Shout outs to @gnachman for submitting the issue and @dimo414 and @d630 for feedback.

Lime Elephant

31 Oct 03:05
e81e7bf
Compare
Choose a tag to compare

Bugfix release for #61
Shout outs to @lguelorget for submitting the PR to fix this. 👍 💯 🙏

Red Oyster

19 Oct 01:37
Compare
Choose a tag to compare
  • Bugfix release fixing #58 and an issue causing crashes on installation.

White Swan

24 Sep 23:01
Compare
Choose a tag to compare
  • Preserve preexisting PROMPT_COMMAND as precmd function and DEBUG trap as a preexec 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

10 May 03:47
Compare
Choose a tag to compare
  • 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

12 Feb 02:21
Compare
Choose a tag to compare
  • 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.

Fuschia Bear

22 Aug 01:02
Compare
Choose a tag to compare
  • 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)