./shells/brush-shell, POSIX- and bash-compatible shell written in Rust

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ]


Branch: CURRENT, Version: 0.5.0, Package name: brush-shell-0.5.0, Maintainer: drixter

brush (Bo(u)rn(e) RUsty SHell) is a modern bash- and POSIX-compatible
shell written in Rust. Run your existing scripts and .bashrc
unchanged -- with syntax highlighting and auto-suggestions built-in.


Master sites:

Filesize: 1594.92 KB

Version history: (Expand)


CVS history: (Expand)


   2026-11-26 15:54:03 by Marcin Gondek | Files touched by this commit (4)
Log message:
brush-shell: Update to version 0.5.0

Bash compatibility
- 96+% passing on the upstream bash-completion test suite (2,040 tests passing)
- 3,600+ Bash-oracle tests & end-to-end scenario tests
- Key compatibility wins
  More reliable pipelines and jobs
  Fewer surprises when scripts combine shell features
  Better support for existing tools

Other highlights
- Interactive shell improvements
- Installer and canary builds
- WebAssembly and play.brush.sh
- Windows and broader platform support
- Embedder extensibility and dependency cleanup
- Performance and docs
   2026-06-11 17:19:44 by Marcin Gondek | Files touched by this commit (6)
Log message:
shells/brush-shell: Update to v0.4.0

Some key highlights:

A meaningful step forward in bash compatibility.
Major bash language features are now implemented or substantially expanded,
e.g.: set -e, set -u, pipefail, failglob, the ERR trap, coprocesses, and a great \ 
deal more.
Improved robustness across edge cases.
Closed pipes, broken stdout, unusual file-descriptor states, non-UTF8 history files,
and platform corner cases are now handled gracefully.
A systematic audit also removed an entire class of avoidable failure modes.
Broader platform support. Using brush as a login shell on macOS is now supported,
Windows path handling is overhauled, FreeBSD, Android and 32-bit targets build \ 
cleanly again,
and wasm32-wasip2 is now exercised in CI.
A more capable interactive shell. Optional TOML config,
zsh-style preexec/precmd hooks, experimental terminal integration,
expanded readline-macro support, and many completion improvements.
API improvements and foundations for what's next. Scaffolding for
a winnow-based parser, a generic Shell<Extensions> for embedders,
an opt-in bundled-coreutils build, and serde features for both AST and shell state.
This work has required breaking changes to API surface, mostly to brush-core.
Some changes were also made to brush-parser's API but we expect migration for
parser-only consumers to be straightforward and relatively minimal.