mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 06:46:40 +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"
|
||||
|
||||
# Load zinit module if it exists. For more info, run: zinit module help
|
||||
if [ -d "${ZINIT[BIN_DIR]}/zmodules/Src/zdharma" ]; then
|
||||
module_path+=("${ZINIT[BIN_DIR]}/zmodules/Src")
|
||||
zmodload zdharma/zplugin
|
||||
if [ -d "${ZINIT[HOME_DIR]}/module/Src/zdharma_continuum" ]; then
|
||||
module_path+=( "${ZINIT[HOME_DIR]}/module/Src" )
|
||||
zmodload zdharma_continuum/zinit
|
||||
fi
|
||||
|
||||
# Ask to clone Zinit if it's not already available on disk.
|
||||
|
||||
Reference in New Issue
Block a user