mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-12-11 12:47:52 +08:00
10 lines
229 B
Fish
10 lines
229 B
Fish
function gi -d "gitignore.io cli for fish"
|
|
if test $argv[1] = 'update-completions'
|
|
_update_gi_completions
|
|
return $status
|
|
end
|
|
|
|
set -l params (echo $argv|tr ' ' ',')
|
|
curl -s https://www.gitignore.io/api/$params
|
|
end
|