Skip to content

Releases: rcaloras/bash-preexec

Lime Whale

22 Apr 02:03
Compare
Choose a tag to compare
  • Supports commands executed in subshells
  • Apply and override PROMPT_COMMAND and DEBUG trap late as part of our PROMPT_COMMAND. This should allow for more flexible inclusion and cause bash-preexec to take priority over anything else that might be using the DEBUG trap.

Yellow Turtle

06 Dec 20:18
Compare
Choose a tag to compare
  • Bugfix of PROMPT_COMMAND parsing maintaining prior PROMPT_COMMAND
  • Optimizations to remove subshells and usage of sed
  • Props to @d630 👍 for the PRs. Thanks!

Gold Cat

12 Oct 01:33
Compare
Choose a tag to compare
  • Remove ignorespace from $HISTCONTROL
  • Add HISTTIMEFORMAT support
  • fix localized loop var typo
  • general clean up
  • Added travis 👍

Bugfix Release

25 Feb 00:46
Compare
Choose a tag to compare

Fixed a bug where prior defined PROMPT_COMMAND would cause it to break.

Zincy Zebra

24 Feb 01:39
Compare
Choose a tag to compare

Made return status be set properly for every invoked precmd function.

Abject Ape

21 Feb 22:50
Compare
Choose a tag to compare

Full support for precmd and preexec functionality for bash based on the zsh specification. Currently being used by bashhub.com :) More info on the client page https://github.com/rcaloras/bashhub-client

Only known limitation at this time is support for subshells. I omitted their support for now out of sluggishness and some difficulties being able to differentiate subshell commands from commands being exectued by something else in PROMPT_COMMAND or PS1