I want something like the doc function in Clojure; I want to type cheat for and be shown some example usages of for in zsh. I don't mind installing an app for this, and I hope something like this has already been done?


I found some answers, which are great, but I'd appreciate knowing more alternatives.


https://github.com/chrisallenlane/cheat (Installable by brew)

Not the answer you're looking for? Browse other questions tagged or ask your own question.