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