From bbc4e7c329b89c7bb731165578805d09c362455d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Jeli=C4=87?= Date: Wed, 29 Oct 2014 20:57:12 +0100 Subject: [PATCH] Use https instead of http Request to http redirects to https so either add -L to curl to follow redirects or go directly to https. --- plugins/gitignore/gitignore.plugin.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/gitignore/gitignore.plugin.zsh b/plugins/gitignore/gitignore.plugin.zsh index be037d87a..5bf302452 100644 --- a/plugins/gitignore/gitignore.plugin.zsh +++ b/plugins/gitignore/gitignore.plugin.zsh @@ -1,7 +1,7 @@ -function gi() { curl http://www.gitignore.io/api/$@ ;} +function gi() { curl https://www.gitignore.io/api/$@ ;} _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 () {