1

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?

0

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

https://github.com/chubin/cheat.sh

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

| improve this answer | |

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