all repos — archive/dotfiles @ b2d957b9399270b96949c1a8e9bc361ee71a6f9d

Superseded by nixfiles

zsh: load zplugin module if available

Alan Pearce
commit

b2d957b9399270b96949c1a8e9bc361ee71a6f9d

parent

ee3fac4c2bb1c62c66084fdcd4f5f89917448689

1 file changed, 8 insertions(+), 0 deletions(-)

jump to
M zsh/.config/zsh/.zshrczsh/.config/zsh/.zshrc
@@ -1,4 +1,12 @@
# -*- mode: sh; -*- +if [[ -d "$HOME/.zplugin/bin/zmodules/Src" ]] +then + module_path+=( "/Users/alan/.zplugin/bin/zmodules/Src" ) + zmodload zdharma/zplugin +else + echo "Zplugin module is not installed" >&2 +fi + source $HOME/.zplugin/bin/zplugin.zsh autoload -Uz _zplugin (( ${+_comps} )) && _comps[zplugin]=_zplugin