github ZStud/reef v0.3.0

5 hours ago

v0.3.0 — Persistence, Confirm Mode & Library Crate

Persistence Modes — bash state survives across commands:

  • reef persist state — exported variables persist via state file (~0.4ms overhead)
  • reef persist full — persistent bash coprocess, everything persists (~1.6ms)

Confirm Mode — preview before executing:

  • reef confirm on — shows fish translation or bash passthrough, waits for [Y/n]

Library Crate — reef is now both a binary and a Rust library:

  • cargo add reef-shell / use reef::translate::translate_bash_to_fish
  • Full public API: detection, parsing, AST types, translation, passthrough, env diffing, daemon control

Code Quality

  • #![forbid(unsafe_code)], #![deny(missing_docs)], #![warn(clippy::all)]
  • 498 unit tests + 11 doc tests
  • ~490KB binary, zero crate dependencies

Install

Channel Command
AUR yay -S reef
crates.io cargo install reef-shell
Homebrew brew tap ZStud/reef && brew install reef
Nix flake nix profile install github:ZStud/reef
nixpkgs nix-env -iA nixpkgs.reef
Fedora/Copr sudo dnf copr enable zstud/reef && sudo dnf install reef
Debian/Ubuntu sudo add-apt-repository ppa:zstud/reef && sudo apt install reef

Don't miss a new reef release

NewReleases is sending notifications on new releases.