mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
fix: update zinit module load path
This commit is contained in:
6
zshrc
6
zshrc
@@ -27,9 +27,9 @@ ZINIT[HOME_DIR]="$HOME/.local/zsh/zinit"
|
|||||||
ZINIT[BIN_DIR]="${ZINIT[HOME_DIR]}/bin"
|
ZINIT[BIN_DIR]="${ZINIT[HOME_DIR]}/bin"
|
||||||
|
|
||||||
# Load zinit module if it exists. For more info, run: zinit module help
|
# Load zinit module if it exists. For more info, run: zinit module help
|
||||||
if [ -d "${ZINIT[BIN_DIR]}/zmodules/Src/zdharma" ]; then
|
if [ -d "${ZINIT[HOME_DIR]}/module/Src/zdharma_continuum" ]; then
|
||||||
module_path+=("${ZINIT[BIN_DIR]}/zmodules/Src")
|
module_path+=( "${ZINIT[HOME_DIR]}/module/Src" )
|
||||||
zmodload zdharma/zplugin
|
zmodload zdharma_continuum/zinit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ask to clone Zinit if it's not already available on disk.
|
# Ask to clone Zinit if it's not already available on disk.
|
||||||
|
|||||||
Reference in New Issue
Block a user