initial commit

This commit is contained in:
venus
2026-03-01 20:58:45 -06:00
commit f8eb9f2139
1065 changed files with 110708 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
# gitignore plugin for oh-my-zsh
# Uses gitignore.io CDN endpoint
function _gi_curl() {
curl -sfL "https://www.gitignore.io/api/$1"
}
function gi() {
local query="${(j:,:)@}"
_gi_curl "$query" || return 1
}
_gitignoreio_get_command_list() {
_gi_curl "list" | tr "," "\n"
}
_gitignoreio () {
compset -P '*,'
compadd -S '' $(_gitignoreio_get_command_list)
}
compdef _gitignoreio gi