diff options
Diffstat (limited to 'zsh/oh-my-zsh/plugins/gitignore/gitignore.plugin.zsh')
-rw-r--r-- | zsh/oh-my-zsh/plugins/gitignore/gitignore.plugin.zsh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/zsh/oh-my-zsh/plugins/gitignore/gitignore.plugin.zsh b/zsh/oh-my-zsh/plugins/gitignore/gitignore.plugin.zsh deleted file mode 100644 index a687f5c..0000000 --- a/zsh/oh-my-zsh/plugins/gitignore/gitignore.plugin.zsh +++ /dev/null @@ -1,12 +0,0 @@ -function gi() { curl -fLw '\n' 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 |