Browse Source

fixed URL on github.io

github.io moved to https and http returns 301 redirect
Andrii Kostenko 10 years ago
parent
commit
b9a11b16fe
1 changed files with 2 additions and 2 deletions
  1. 2 2
      plugins/gitignore/gitignore.plugin.zsh

+ 2 - 2
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 () {