mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
Change schema to https in gitignore plugin
Request to http://www.gitignore.io returns 301 since cloudflare moved away from http to https schema. Using curl -L (use location header) might be unsafe therefore I simply updated URL.
This commit is contained in:
parent
7f07facf41
commit
2f84f493a0
1 changed files with 2 additions and 2 deletions
|
|
@ -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 () {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue