dotfiles/.config/shell/bin/how

4 lines
98 B
Text
Raw Permalink Normal View History

#!/bin/sh
test $# -gt 0 && where="$1" && shift
IFS='+' eval 'curl "https://cht.sh/${where:-}/$*"'