./shells/bash-preexec, Preexec and precmd hook functions a la zsh

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.6.0, Package name: bash-preexec-0.6.0, Maintainer: schmonz

preexec and precmd hook functions for Bash in the style of Zsh. They aim
to emulate the behavior as described for Zsh.


Master sites:

Filesize: 10.121 KB

Version history: (Expand)


CVS history: (Expand)


   2025-08-05 20:46:30 by Amitai Schleier | Files touched by this commit (2)
Log message: ## What's Changed * Use POSIX syntax for Bash detection * Fix typo in README: our -> your * Update to remove shellcheck warnings * Check Bash version 3.1+ * Addtional fixes for `shellcheck` * Try to better handle external modification to `$PROMPT_COMMAND` * Support the array PROMPT_COMMAND (bash >= 5.1) * Fix the test for the Bash version for shellcheck * Don't load if old version already present * Fix false-negative test case for __bp_install * Exclude the `bind -x` commands from interactive commands * Fix indentation and remove trailing semicolons * Improve prior_trap processing * Remove dependency on sed(1) for history processing 
   2023-04-10 15:59:38 by Amitai Schleier | Files touched by this commit (4)
Log message: Add bash-preexec: Preexec and precmd hook functions a la zsh preexec and precmd hook functions for Bash in the style of Zsh. They aim to emulate the behavior as described for Zsh.