add convience funtion for cht.sh

This commit is contained in:
Daylin Morgan 2023-06-01 09:49:40 -05:00
parent 8fee06b0f6
commit c393f98c85
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -0,0 +1,8 @@
#!/usr/bin/env zsh
if [ $# -eq 0 ];
then
curl -s cheat.sh | less -R
else
curl -s cheat.sh/${@} | less -R
fi