3 ms·
As I don't need it that often, I prefer the zero-install `curl cht.sh/tar`.
by m_x 4y ago
As I don't need it that often, I prefer the zero-install `curl cht.sh/tar`.
- reidjs 4y agoI use this fairly regularly! If you don't know, you can type almost any command, e.g. `curl cht.sh/ls` and it shows you common usages of `ls` with a short description for each command Man pages for the lazy.
- galgot 4y agoBut sh... sorry "cheat" is easier to remember, maybe.
- adamhearn 4y agoI put this in my ZSH profile. function cheat() { curl cht.sh/$1 }
- repox 4y agoI have a similar setup: function cheat() { cheatcommand=$1 shift; IFS='+' str="$*" if [ "$#" -eq 0 ]; then curl cht.sh/$cheatcommand else curl cht.sh/$cheatcommand/$str fi }