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?

closed as off-topic by Thomas Dickey, RalfFriedl, schily, Isaac, jimmij Oct 28 '18 at 22:49

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Requests for learning materials (tutorials, how-tos etc.) are off topic. The only exception is questions about where to find official documentation (e.g. POSIX specifications). See the Help Center and our Community Meta for more information." – Thomas Dickey, RalfFriedl, schily, Isaac, jimmij
If this question can be reworded to fit the rules in the help center, please edit the question.


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.