rush

Rush is an experimental, POSIX-facing shell with Bash compatibility and interactive UX improvements.

It is early software: the implementation moves quickly, APIs may change, and POSIX compatibility is a work in progress rather than a certification claim.

$ rush
# familiar shell language, friendlier interactive editor

Start here

Current focus:

Rush targets POSIX-like systems first: Linux, macOS, and BSDs.

Build and install

Rush currently requires Zig 0.16. Zig fetches the declared dependencies from build.zig.zon.

git clone https://github.com/rockorager/rush
cd rush
zig build
zig build install --prefix "$HOME/.local" -Doptimize=ReleaseSafe

Run

zig build run
zig build run -- --posix -c 'echo hello'
./zig-out/bin/rush --help

--posix selects POSIX mode with stricter syntax diagnostics for non-interactive execution. There is not currently a user-facing Bash-mode CLI flag.

Docs

Source

github.com/rockorager/rush

Status

Early software. Expect missing features, behavior changes, and incomplete POSIX/Bash compatibility.

License

MIT.