updated stuff

This commit is contained in:
Nikolas Weger 2019-12-11 12:13:54 +01:00
parent c37679a883
commit c4ff5a9900
24 changed files with 138 additions and 30 deletions

12
zsh/plgs/gitignore.zsh Normal file
View 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