Проверка возможности работы плагинов

This commit is contained in:
Andrei Astafev 2022-12-20 18:05:16 +03:00
parent 33eb5a63e1
commit 41cc096839
2 changed files with 12 additions and 7 deletions

View File

@ -30,9 +30,12 @@ zinit snippet OMZP::pre-commit
zinit snippet OMZP::rsync zinit snippet OMZP::rsync
zinit snippet OMZP::vscode zinit snippet OMZP::vscode
zinit snippet OMZP::web-search zinit snippet OMZP::web-search
if command -v git-lfs > /dev/null 2>&1; then
zinit light brymck/print-alias zinit light brymck/print-alias
fi
if command -v fzf > /dev/null 2>&1; then if command -v fzf > /dev/null 2>&1; then
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 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/completion.zsh
zinit snippet https://github.com/junegunn/fzf/blob/master/shell/key-bindings.zsh zinit snippet https://github.com/junegunn/fzf/blob/master/shell/key-bindings.zsh
@ -40,6 +43,7 @@ if command -v fzf > /dev/null 2>&1; then
zinit ice lucid wait'0' lucid zinit ice lucid wait'0' lucid
zinit light joshskidmore/zsh-fzf-history-search zinit light joshskidmore/zsh-fzf-history-search
fi fi
fi
if command -v git > /dev/null 2>&1; then if command -v git > /dev/null 2>&1; then
GIT_AUTO_FETCH_INTERVAL=3600 GIT_AUTO_FETCH_INTERVAL=3600

View File

@ -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 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`: Клонировать репозиторий с настройками Zsh в каталог `~/.config/zsh`: