updated stuff
This commit is contained in:
parent
fa06d6afcc
commit
0fdf83461e
13 changed files with 900 additions and 0 deletions
12
zsh/libraries/plugins/gitignore.zsh
Normal file
12
zsh/libraries/plugins/gitignore.zsh
Normal file
|
@ -0,0 +1,12 @@
|
|||
function gi() { curl -fL https://www.gitignore.io/api/${(j:,:)@} }
|
||||
|
||||
_gitignoreio_get_command_list() {
|
||||
curl -sfL https://www.gitignore.io/api/list | tr "," "\n"
|
||||
}
|
||||
|
||||
_gitignoreio () {
|
||||
compset -P '*,'
|
||||
compadd -S '' `_gitignoreio_get_command_list`
|
||||
}
|
||||
|
||||
compdef _gitignoreio gi
|
Loading…
Add table
Add a link
Reference in a new issue