mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-10 04:26:17 +02:00
Update gitignore.plugin: comma separated arguments
Seems like this is more like the intended effect, splits arguments with commas for proper gitignore.io api request. Thanks for teaching me about custom compdef completions!
This commit is contained in:
parent
f558a460c2
commit
26f46bbf92
1 changed files with 1 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
function gi() { curl -sL https://www.gitignore.io/api/$@ ;}
|
||||
function gi() { curl -sL https://www.gitignore.io/api/`echo $@ | sed s/" "/,/g` ;}
|
||||
|
||||
_gitignoreio_get_command_list() {
|
||||
curl -sL https://www.gitignore.io/api/list | tr "," "\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue