Package Details: brush 0.2.17-1

Git Clone URL: https://aur.archlinux.org/brush.git (read-only, click to copy)
Package Base: brush
Description: Bash/POSIX-compatible shell implemented in Rust
Upstream URL: https://github.com/reubeno/brush
Keywords: bash posix rust shell
Licenses: MIT
Submitter: orhun
Maintainer: orhun
Last Packager: orhun
Votes: 1
Popularity: 0.92
First Submitted: 2025-04-20 15:39 (UTC)
Last Updated: 2025-04-25 08:28 (UTC)

Required by (0)

Sources (1)

Latest Comments

kseistrup commented on 2025-05-07 09:14 (UTC)

Thanks for packaging brush.

How about adding /usr/bin/brush to /etc/shells so that people can switch to brush as their daily driver, should they wish to.

This would mean addind the file brush.install to this repo. Something along the lines of:

post_install() {
    grep -q '^/usr/bin/brush$' etc/shells || echo '/usr/bin/brush' >> etc/shells
}

post_upgrade() {
    post_install "$@"
}

pre_remove() {
    sed -i '/^\/usr\/bin\/brush$/d' etc/shells
}

and adding the following line to the PKGBUILD file, e.g. right under the line with sha256sums:

sha256sums=('403[…]0f0')
install="$pkgname.install"

Cheers.