Fix URL to gi (gitignore) function

Previous URL doesn't seem to work because the host requires a www
prefix.
This commit is contained in:
Brian McKenna 2014-02-18 14:43:42 -07:00
parent 4ce7f0a37f
commit 1df7d01618

View file

@ -1,4 +1,4 @@
function gi() { curl http://gitignore.io/api/$@ ;} function gi() { curl http://www.gitignore.io/api/$@ ;}
_gitignireio_get_command_list() { _gitignireio_get_command_list() {
curl -s http://gitignore.io/api/list | tr "," "\n" curl -s http://gitignore.io/api/list | tr "," "\n"