dotfiles/home/private_dot_config/zsh/functions/executable_cht

9 lines
111 B
Text
Raw Normal View History

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