diff --git a/home/private_dot_config/zsh/functions/q b/home/private_dot_config/zsh/functions/q new file mode 100644 index 0000000..b134d86 --- /dev/null +++ b/home/private_dot_config/zsh/functions/q @@ -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