[OC] Mend: A modular Zsh lazy-loaded recovery tool using fzf

Wait 5 sec.

I’ve been working on a Zsh plugin called Mend that acts as a bit of a safety net for the terminal. Instead of manually digging through wikis or command history when something fails, it uses fzf to interactively resolve package conflicts, map missing libraries (.so), refresh mirrors, handle command-not-found fixes, clear orphans, resolve missing PGP keys, and clear database locks. It was originally a personal project for Arch only, but I’ve just pushed v0.6.0 which adds cross-distro support for Fedora, openSUSE, and Debian-based systems. I’ve focused on keeping it modular and lazy-loaded so it has zero impact on shell startup times. I used LLM assistance to help manage the cross-distro logic, but I’ve manually refined and reviewed the code hundreds of times to ensure it handles the specific quirks of each package manager. It works on my Arch machine. Other distros have been tested in containers, but I was not able to simulate live environments that have gone through months or years of updates and personal tweaks. If you're into fzf-based workflows or need a distro-agnostic way to handle common terminal errors, I’d love to get some technical feedback on the implementation. GitHub: https://github.com/Rakosn1cek/mend   submitted by   /u/ClassroomHaunting333 [link]   [comments]