Правка синтаксиса
This commit is contained in:
parent
e09e731101
commit
df7bc41b32
@ -8,12 +8,12 @@ ZINIT[SNIPPETS_DIR]="$ZSH_CACHE_DIR/snippets"
|
|||||||
ZINIT[ZCOMPDUMP_PATH]="$ZSH_CACHE_DIR/zcompdump"
|
ZINIT[ZCOMPDUMP_PATH]="$ZSH_CACHE_DIR/zcompdump"
|
||||||
ZPFX="$ZSH_CACHE_DIR/polaris"
|
ZPFX="$ZSH_CACHE_DIR/polaris"
|
||||||
|
|
||||||
if [ ! -d "${ZINIT}[HOME_DIR]" ]; then
|
if [ ! -d "${ZINIT[HOME_DIR]}" ]; then
|
||||||
git clone --depth 1 https://github.com/zdharma-continuum/zinit "${ZINIT}[HOME_DIR]"
|
git clone --depth 1 https://github.com/zdharma-continuum/zinit "${ZINIT[HOME_DIR]}"
|
||||||
zcompile "${ZINIT}[HOME_DIR]/zinit.zsh"
|
zcompile "${ZINIT[HOME_DIR]}/zinit.zsh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
source "${ZINIT}[HOME_DIR]/zinit.zsh"
|
source "${ZINIT[HOME_DIR]}/zinit.zsh"
|
||||||
autoload -Uz _zinit
|
autoload -Uz _zinit
|
||||||
(( ${+_comps} )) && _comps[zinit]=_zinit
|
(( ${+_comps} )) && _comps[zinit]=_zinit
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user