From df7bc41b323d0bf98e8a6441a8f473d386bc8ebc Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Mon, 19 Dec 2022 06:46:56 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B0=D0=B2=D0=BA=D0=B0=20=D1=81?= =?UTF-8?q?=D0=B8=D0=BD=D1=82=D0=B0=D0=BA=D1=81=D0=B8=D1=81=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 42-zinit.zsh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/42-zinit.zsh b/42-zinit.zsh index 12ea42e..b7feec6 100644 --- a/42-zinit.zsh +++ b/42-zinit.zsh @@ -8,12 +8,12 @@ ZINIT[SNIPPETS_DIR]="$ZSH_CACHE_DIR/snippets" ZINIT[ZCOMPDUMP_PATH]="$ZSH_CACHE_DIR/zcompdump" ZPFX="$ZSH_CACHE_DIR/polaris" -if [ ! -d "${ZINIT}[HOME_DIR]" ]; then - git clone --depth 1 https://github.com/zdharma-continuum/zinit "${ZINIT}[HOME_DIR]" - zcompile "${ZINIT}[HOME_DIR]/zinit.zsh" +if [ ! -d "${ZINIT[HOME_DIR]}" ]; then + git clone --depth 1 https://github.com/zdharma-continuum/zinit "${ZINIT[HOME_DIR]}" + zcompile "${ZINIT[HOME_DIR]}/zinit.zsh" fi -source "${ZINIT}[HOME_DIR]/zinit.zsh" +source "${ZINIT[HOME_DIR]}/zinit.zsh" autoload -Uz _zinit (( ${+_comps} )) && _comps[zinit]=_zinit