1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-21 19:11:30 +01:00

add https to cheat and cheatall (cheat.sh)

This commit is contained in:
bretello 2020-02-14 16:37:41 +01:00
parent f85b052450
commit c0ac8250f1

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