Add local plugin for bundled compdefs

This commit is contained in:
crater2150 2020-02-24 10:44:13 +01:00
parent 8b69dae131
commit bbd9165820
2 changed files with 9 additions and 1 deletions

View file

@ -0,0 +1,7 @@
#!/bin/zsh
# This zsh plugin loads compdefs bundled with packages, that are not usually
# installed into fpath
if (( $+commands[bloop] )); then
fpath+=${$(realpath $commands[bloop]):h}/zsh
fi

View file

@ -8,6 +8,8 @@ zplug 'crater2150-zsh/conf'
zplug 'crater2150-zsh/chroma-z', as:theme
zplug $ZDOTDIR/plugins/autoloader, from:local
zplug $ZDOTDIR/plugins/highlight-config, from:local, defer:3
zplug $ZDOTDIR/plugins/bundled-compdefs, from:local
zplug 'molovo/revolver', \
as:command, \
@ -18,7 +20,6 @@ zplug 'zunit-zsh/zunit', \
hook-build:'./build.zsh'
zplug "zsh-users/zsh-syntax-highlighting", defer:2
zplug $ZDOTDIR/plugins/highlight-config, from:local, defer:3
zplug "plugins/ng", from:oh-my-zsh