From 2bd3607a7a9d74b9a6c8f9079e37d48ddbffc35f Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Sat, 11 Dec 2021 12:15:10 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=BE=20=D0=B8=D1=81=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7?= =?UTF-8?q?=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20=D0=BE=D1=82=D0=BB=D0=BE?= =?UTF-8?q?=D0=B6=D0=B5=D0=BD=D0=BD=D0=BE=D0=B9=20=D0=B7=D0=B0=D0=B3=D1=80?= =?UTF-8?q?=D1=83=D0=B7=D0=BA=D0=B8=20=D0=BF=D0=BB=D0=B0=D0=B3=D0=B8=D0=BD?= =?UTF-8?q?=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 55-agents.zsh | 2 +- 85-completion.zsh | 23 +++-------------------- 2 files changed, 4 insertions(+), 21 deletions(-) diff --git a/55-agents.zsh b/55-agents.zsh index 5fcc24a..7acd1ee 100644 --- a/55-agents.zsh +++ b/55-agents.zsh @@ -19,4 +19,4 @@ # zstyle :omz:plugins:keychain identities id_rsa 01234567 # zstyle :omz:plugins:keychain options --quiet --inherit local-once --noask --nocolor --quick # zstyle :omz:plugins:keychain agents gpg,ssh -# zcomet load ohmyzsh plugins/keychain +# zsh-defer zcomet load ohmyzsh plugins/keychain diff --git a/85-completion.zsh b/85-completion.zsh index 60302e7..4e51ed9 100644 --- a/85-completion.zsh +++ b/85-completion.zsh @@ -26,24 +26,7 @@ zstyle ':completion:*:(ssh|scp|rsync):*:hosts-ipaddr' ignored-patterns '^<->.<-> zcomet load zsh-users/zsh-completions # Вызов в этом месте и в таком порядке -#if [ -z "${ZSH_MC_WORKAROUND}" ]; then -# zcomet load zsh-users/zsh-autosuggestions -#fi -#zcomet load zsh-users/zsh-syntax-highlighting -#zcomet load zsh-users/zsh-history-substring-search - -# Отложенная загрузка -mkdir -p ${ZCOMET_DIR}/repos/zsh-users -if [[ ! -f "${ZCOMET_DIR}/repos/zsh-users/zsh-autosuggestions/zsh-autosuggestions.zsh" ]]; then - command git clone --depth=1 https://github.com/zsh-users/zsh-autosuggestions "${ZCOMET_DIR}/repos/zsh-users/zsh-autosuggestions" -fi -if [[ ! -f "${ZCOMET_DIR}/repos/zsh-users/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ]]; then - command git clone --depth=1 https://github.com/zsh-users/zsh-syntax-highlighting "${ZCOMET_DIR}/repos/zsh-users/zsh-syntax-highlighting" -fi -if [[ ! -f "${ZCOMET_DIR}/repos/zsh-users/zsh-history-substring-search/zsh-history-substring-search.zsh" ]]; then - command git clone --depth=1 https://github.com/zsh-users/zsh-history-substring-search "${ZCOMET_DIR}/repos/zsh-users/zsh-history-substring-search" -fi -zsh-defer source "${ZCOMET_DIR}/repos/zsh-users/zsh-autosuggestions/zsh-autosuggestions.zsh" \ - "${ZCOMET_DIR}/repos/zsh-users/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" \ - "${ZCOMET_DIR}/repos/zsh-users/zsh-history-substring-search/zsh-history-substring-search.zsh" +zsh-defer zcomet load zsh-users/zsh-autosuggestions +zsh-defer zcomet load zsh-users/zsh-syntax-highlighting +zsh-defer zcomet load zsh-users/zsh-history-substring-search