diff --git a/functions.sh b/functions.sh index b2a2de6..99a6023 100755 --- a/functions.sh +++ b/functions.sh @@ -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