Add cht.sh plugin
parent
2e53796d49
commit
6419d9246d
|
|
@ -0,0 +1,9 @@
|
||||||
|
cite about-plugin
|
||||||
|
about-plugin 'Simplify `curl cht.sh/<query>` to `cht.sh <query>`'
|
||||||
|
|
||||||
|
# Play nicely if user already installed cht.sh cli tool
|
||||||
|
if ! _command_exists cht.sh ; then
|
||||||
|
function cht.sh () {
|
||||||
|
curl "cht.sh/$1"
|
||||||
|
}
|
||||||
|
fi
|
||||||
Loading…
Reference in New Issue