BSD Ports

shells/bash-preexec 0.6.0 NetBSD

Preexec and precmd hook functions a la zsh

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
c4ed280bdc
License
mit
Categories
shells
Package size
6.2 KiB, 13.9 KiB installed

Description

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

Install

Binary package:

pkgin install bash-preexec

From pkgsrc:

cd /usr/pkgsrc/shells/bash-preexec && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.6.0
NetBSD 10.1 aarch640.6.0
SmartOS / illumos x86_640.7.0
macOS 15 arm640.7.0

Dependencies

No port depends on this one.

Commit history 1

DateCommitCreditsLog message
c4ed280bdc schmonz 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