fix: cleanly skip trying to load zinit binary module if it hasn't been built
This commit is contained in:
parent
64c6dfe98f
commit
f54e89b435
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
#! zsh
|
||||
ZINIT_HOME=${XDG_CACHE_HOME:-~/.cache}/zsh/zinit
|
||||
if [[ -d $ZINIT_HOME/bin/zmodules/Src/zdharma ]]; then
|
||||
if [[ -e $ZINIT_HOME/bin/zmodules/Src/zdharma/zplugin.so ]]; then
|
||||
module_path+=( $ZINIT_HOME/bin/zmodules/Src )
|
||||
zmodload zdharma/zplugin
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue