mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-12-22 23:31:32 +01:00
add https to cheat and cheatall (cheat.sh)
This commit is contained in:
parent
f85b052450
commit
c0ac8250f1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user