rwxrob-dot/scripts/cheat

14 lines
133 B
Plaintext
Raw Normal View History

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