rwxrob-dot/scripts/cheat
Rob Muhlestein 2ea0289e9f Rebase
2022-02-09 02:29:05 -05:00

14 lines
133 B
Bash
Executable File

#!/bin/sh
cheat() {
where="$1"
if [ $# -ge 1 ]; then
shift
fi
IFS=+ curl -sS "http://cht.sh/$where/ $*"
}
cheat "$@"