mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 07:20:40 +01:00
Follow-redirect and silent mode curl throughout gitignore
This commit completes previous efforts and standardizes both curl commands into using silent mode and following redirects in case the URL changes again in the future.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
function gi() { curl -L https://www.gitignore.io/api/$@ ;}
|
||||
function gi() { curl -sL https://www.gitignore.io/api/$@ ;}
|
||||
|
||||
_gitignoreio_get_command_list() {
|
||||
curl -s https://www.gitignore.io/api/list | tr "," "\n"
|
||||
curl -sL https://www.gitignore.io/api/list | tr "," "\n"
|
||||
}
|
||||
|
||||
_gitignoreio () {
|
||||
|
||||
Reference in New Issue
Block a user