Commit ede30d9f authored by Bruno's avatar Bruno

Merge pull request #123 from dgarrett/master

Fix gitignore.io plugin URL
parents 80164548 a8d5fad4
# 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`
if not set -q -g gi_list if not set -q -g gi_list
timeout 2 ping -c 1 -q gitignore.io >/dev/null ping -t 2 -c 1 -q gitignore.io >/dev/null
set gi_available $status set gi_available $status
if test $gi_available if test $gi_available
......
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