Merry, a small POSIX-style shell, adds a trap command for running cleanup actions on exit or signals, and fixes a bug where exit inside a subshell terminated the whole session. Forester, an OCaml web framework, corrects how it generates URLs for static assets.
Features
Trap command: Merry now includes a trap built-in that runs a specified action when the shell exits or receives a signal. You can clear a handler with trap - EXIT, and 0 is accepted as a shorthand for EXIT. Source
Persistent command history: Interactive sessions now save and reload command history to a file in a standard location under your home directory. You can scroll back through previous commands after restarting the shell. Source
Fixes
Subshell exit: exit now ends only the current subshell rather than the entire shell session. It also no longer prints a stray exit line in non-interactive runs. Source
Asset URL generation: Forester replaces a file-extension heuristic with a dedicated file_uri helper so that generated asset URLs are correct. This addresses issue #193.
Compatibility
Nix flake: The flake now exposes a shell path of /bin/msh and a dev shell for building and running Merry. Nix users can enter a ready-to-use environment with nix develop. Source
Pinned eio dependency: The build now depends on released eio and eio_posix 1.3 instead of development versions, and the msh binary ships inside the merry package. This makes builds reproducible and ensures the binary is available after installation. Source