Add local plugin for bundled compdefs
This commit is contained in:
parent
8b69dae131
commit
bbd9165820
7
plugins/bundled-compdefs/bundledcompdefs.plugin.zsh
Executable file
7
plugins/bundled-compdefs/bundledcompdefs.plugin.zsh
Executable 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
|
|
@ -8,6 +8,8 @@ zplug 'crater2150-zsh/conf'
|
||||||
zplug 'crater2150-zsh/chroma-z', as:theme
|
zplug 'crater2150-zsh/chroma-z', as:theme
|
||||||
|
|
||||||
zplug $ZDOTDIR/plugins/autoloader, from:local
|
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', \
|
zplug 'molovo/revolver', \
|
||||||
as:command, \
|
as:command, \
|
||||||
|
@ -18,7 +20,6 @@ zplug 'zunit-zsh/zunit', \
|
||||||
hook-build:'./build.zsh'
|
hook-build:'./build.zsh'
|
||||||
|
|
||||||
zplug "zsh-users/zsh-syntax-highlighting", defer:2
|
zplug "zsh-users/zsh-syntax-highlighting", defer:2
|
||||||
zplug $ZDOTDIR/plugins/highlight-config, from:local, defer:3
|
|
||||||
|
|
||||||
zplug "plugins/ng", from:oh-my-zsh
|
zplug "plugins/ng", from:oh-my-zsh
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue