From 41cc096839f1bca105734feb6532d89396e05ad8 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Tue, 20 Dec 2022 18:05:16 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA?= =?UTF-8?q?=D0=B0=20=D0=B2=D0=BE=D0=B7=D0=BC=D0=BE=D0=B6=D0=BD=D0=BE=D1=81?= =?UTF-8?q?=D1=82=D0=B8=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D1=8B=20=D0=BF?= =?UTF-8?q?=D0=BB=D0=B0=D0=B3=D0=B8=D0=BD=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 45-plugins.zsh | 16 ++++++++++------ README.md | 3 ++- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/45-plugins.zsh b/45-plugins.zsh index 3f36150..79883a5 100644 --- a/45-plugins.zsh +++ b/45-plugins.zsh @@ -30,15 +30,19 @@ zinit snippet OMZP::pre-commit zinit snippet OMZP::rsync zinit snippet OMZP::vscode zinit snippet OMZP::web-search -zinit light brymck/print-alias +if command -v git-lfs > /dev/null 2>&1; then + zinit light brymck/print-alias +fi if command -v fzf > /dev/null 2>&1; then - zinit ice lucid wait'0' mv"completion.zsh -> _fzf" pick"_fzf" as"completion" - zinit snippet https://github.com/junegunn/fzf/blob/master/shell/completion.zsh - zinit snippet https://github.com/junegunn/fzf/blob/master/shell/key-bindings.zsh + if is-at-least "0.34" "$(fzf --version | awk '{ print $1; }')"; then + zinit ice lucid wait'0' mv"completion.zsh -> _fzf" pick"_fzf" as"completion" + zinit snippet https://github.com/junegunn/fzf/blob/master/shell/completion.zsh + zinit snippet https://github.com/junegunn/fzf/blob/master/shell/key-bindings.zsh - zinit ice lucid wait'0' lucid - zinit light joshskidmore/zsh-fzf-history-search + zinit ice lucid wait'0' lucid + zinit light joshskidmore/zsh-fzf-history-search + fi fi if command -v git > /dev/null 2>&1; then diff --git a/README.md b/README.md index 741597c..1398092 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,8 @@ sh -c "$(curl -fsSL https://raw.githubusercontent.com/romkatv/zsh-bin/master/ins sudo apt-get install autojump command-not-found grc grepcidr kitty-terminfo wmctrl xdotool ``` -Установить дополнительные программы по [инструкции](https://git.246060.ru/f1x1t/eget-config/). +Установить дополнительные программы по [инструкции](https://git.246060.ru/config/eget/). + Клонировать репозиторий с настройками Zsh в каталог `~/.config/zsh`: