Use HTTPS for gitignore.io

gitignore.io has deprecated HTTP, breaking this plugin. Using HTTPS restores functionality.
This commit is contained in:
elventear 2014-10-09 10:25:19 -05:00
commit 611a2c7a12

View file

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