add https to cheat and cheatall (cheat.sh)

whole-command-tab-completion
bretello 2020-02-14 16:37:41 +01:00
parent f85b052450
commit c0ac8250f1
1 changed files with 2 additions and 2 deletions

View File

@ -21,12 +21,12 @@ function dotfiles_selfupdate
## get cheat sheets for commands from cheat.sh. Usage: cheat commandname
function cheat
{
curl "cheat.sh/$1"
curl "https://cheat.sh/$1"
}
# get cheat sheets for commands matching $1
function cheatall
{
curl "cheat.sh/~$1"
curl "https://cheat.sh/~$1"
}
## Simple calculator. Usage: calc 1+1, calc 5/7, calc "sqrt(2)"
function calc