Show HN: Zrc - a Unix shell without fi, esac or done

github.com

1 points by edward_9x 15 hours ago

Welp, second time posting this project! Bourne shell's ALGOL-inspired syntax seems a bit verbose, and while `rc` is quite nice, it lacks some features I'd prefer in a shell (this is probably by design). Though don't let the name I chose fool you, this shell is probably more related to `tcl` or `csh` than `rc`, except in some small places. It's been a while since my last post. Notable new features include a stack trace (via `caller`), `try`/`catch` (but only with user-supplied strings), `fc`, `disown`, login shell detection, and a shorter argv alias (`${argv number}` becomes `$number`). I'd love some feedback on the design. (Also yes, I'm aware the line editor can't wrap that well. Probably WONTFIX)

ifh-hn 3 hours ago

Some examples on the readme would be good. I checked currently use nushell as my preferred shell and it was the example code that convinced me to try it out.