From ab6e45ee4f326968bb6bbf9ec1a12ad636dca941 Mon Sep 17 00:00:00 2001 From: JGill Date: Tue, 25 Feb 2020 17:55:49 +1030 Subject: [PATCH] easier cheats --- .zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index 0cd9916..4b09531 100644 --- a/.zshrc +++ b/.zshrc @@ -160,10 +160,10 @@ https() { # make httpie use https # cheat sheets (github.com/chubin/cheat.sh), find out how to use commands # example 'cheat tar' # for language specific question supply 2 args first for language, second as the question -# eample cheat python execute+external+program +# eample: cheat python3 execute external program cheat() { if [ "$2" ]; then - curl "https://cheat.sh/$1/$2" + curl "https://cheat.sh/$1/$2+$3+$4+$5+$6+$7+$8+$9+$10" else curl "https://cheat.sh/$1" fi