folkrav, 8 months ago I since switched to tldr (for the offline/caching functionality, I think?), but for the longest time I just used a wrapper function that did exactly this in my shell configuration. Something a bit like this: <span style="color:#323232;">function cheatsh() { </span><span style="color:#323232;"> curl cheat.sh/"$1" </span><span style="color:#323232;">} </span>
I since switched to tldr (for the offline/caching functionality, I think?), but for the longest time I just used a wrapper function that did exactly this in my shell configuration. Something a bit like this:
tldr
<span style="color:#323232;">function cheatsh() { </span><span style="color:#323232;"> curl cheat.sh/"$1" </span><span style="color:#323232;">} </span>