The NetBSD Project

CVS log for pkgsrc/shells/bash-preexec/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / shells / bash-preexec

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Oct 16 21:08:30 2026 UTC (4 weeks, 2 days ago) by schmonz
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
bash-preexec: update to 0.7.0. Changes:

- Use bats-core/bats-action to set up Bats
- Mention Ghostty
- Test against Bash 3.2, 4.4, 5.0, and 5.3 in CI
- Use a function substitution in $PS0 for preexec in Bash >= 5.3
- Re-adjust PROMPT_COMMAND when PROMPT_COMMAND is modified elsewhere
- fix: Allow __bp_precmd_invoke_cmd to be called from __bp_install
- fix: Properly check to see if we're already installed in PROMPT_COMMAND
- fix preexec for the first command
- Preserve $? and $_ on __bp_precmd_invoke_cmd early returns
- Remove the local declarations of {preexec,precmd}_functions

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Aug 5 18:46:30 2025 UTC (15 months, 1 week ago) by schmonz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
## 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

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Apr 10 13:59:38 2023 UTC (3 years, 7 months ago) by schmonz
Branches: MAIN
CVS tags: pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2
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.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>