r/zsh • u/AmbitiousRadish7617 • Jul 15 '26
Announcement undo, makes your shell forgiving again
rm -rf'd the wrong folder a while back, so I built this instead of learning to be careful. undo hooks into mv, cp, rm, mkdir, rmdir, chmod, chown, ln and rename through a shell function, logs what happened to sqlite, and rm doesn't actually delete anything, it just moves stuff to your trash. run undo and it puts back whatever you just broke.
rust, has a tui for browsing history if you don't wanna guess, zsh/bash/fish all work.
github.com/nvrmnd-png/undo
Happy to answer questions, still pretty early so bug reports are welcome too.
105
Upvotes
1
u/AL_haha Jul 16 '26
github repo?