Commit a8d5fad4 authored by Dylan Garrett's avatar Dylan Garrett

Silence curl and fix www.gitignore.io API url, which now requires www.

parent 3a6b0f2e
# gitignore.io cli for fish # gitignore.io cli for fish
function gi function gi
#curl http://gitignore.io/api/$argv
set -l params (echo $argv|tr ' ' ',') set -l params (echo $argv|tr ' ' ',')
curl http://gitignore.io/api/$params curl -s http://www.gitignore.io/api/$params
end end
# enable the complation by invoking `gi list` # enable the complation by invoking `gi list`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment