This function should work for you:
$ rip() { curl -G -H "Accept: text/plain" --url https://dontbeevil.rip/search --data-urlencode "q=$*"; }
$ rip Heartbleed bug
edit: alangibson's solution in this thread is better :)
$ rip() { curl -G -H "Accept: text/plain" --url https://dontbeevil.rip/search --data-urlencode "q=$*"; }
$ rip Heartbleed bug
edit: alangibson's solution in this thread is better :)
No comments yet.