Refactor Plugin loading to be modular

This commit is contained in:
Marty Oehme 2019-02-18 18:41:50 +01:00
parent 415d335262
commit da31bc3959
5 changed files with 156 additions and 218 deletions

16
.zsh.d/22-autocompletions Normal file
View file

@ -0,0 +1,16 @@
# Load more completion files for zsh from the zsh-lovers github repo.
zgen load zsh-users/zsh-completions src
# Docker completion
zgen load srijanshetty/docker-zsh
# Very cool plugin that generates zsh completion functions for commands
# if they have getopt-style help text. It doesn't generate them on the fly,
# you'll have to explicitly generate a completion, but it's still quite cool.
zgen load RobSis/zsh-completion-generator
# Tab complete rakefile targets.
zgen load unixorn/rake-completion.zshplugin
# Load me last
GENCOMPL_FPATH=$HOME/.zsh/complete