r/zsh • u/tri__dimensional • 13m ago
vitcsh: a small framework for organizing aliases, functions and scripts
hi!
i want to share vitcsh, a little framework i made to organize my shell helpers. i shared an earlier version a few months ago when it was called shellbox, and it has evolved a bit since then
the idea is simple: group related helpers into folders under helpers/, each with an aliases file and optional functions/ and scripts/ folders. one line in .zshrc loads the setup. everything stays ordinary shell files that you can open and inspect
there's also a small script template and a checker for syntax, formatting and basic conventions. the goal is to make helpers easy to find, read and keep consistent as the collection grows
with ai it is pretty easy now to create little scripts and so on, so i think a framework like this is useful for keeping the collection organized and the helpers themselves simple, explicit and easy to review. in that sense, i added a little AGENTS.md to give agents a few conventions to follow, and the same structure works for people that prefer writing everything by themselves!
the bundled examples are my personal helpers; the idea is for people to build their own collection. it currently targets linux and supports both zsh and bash
any feedback is welcome!