Условия для загрузки плагинов

This commit is contained in:
Andrei Astafev 2022-12-21 09:42:47 +03:00
parent 41cc096839
commit 75c47072f9

View File

@ -19,15 +19,28 @@ fi
zinit snippet OMZL::clipboard.zsh
zinit snippet OMZL::key-bindings.zsh
zinit snippet OMZL::termsupport.zsh
zinit snippet OMZP::autojump
zinit snippet OMZP::command-not-found
if command -v autojump > /dev/null 2>&1; then
zinit snippet OMZP::autojump
fi
if [ -x /usr/lib/command-not-found ]; then
zinit snippet OMZP::command-not-found
fi
zinit snippet OMZP::common-aliases
zinit snippet OMZP::debian
zinit snippet OMZP::isodate
zinit snippet OMZP::mosh
zinit snippet OMZP::nmap
zinit snippet OMZP::pre-commit
zinit snippet OMZP::rsync
if command -v mosh > /dev/null 2>&1; then
zinit snippet OMZP::mosh
fi
if command -v nmap > /dev/null 2>&1; then
zinit snippet OMZP::nmap
fi
if command -v pre-commit > /dev/null 2>&1; then
zinit snippet OMZP::pre-commit
fi
if command -v rsync > /dev/null 2>&1; then
zinit snippet OMZP::rsync
fi
zinit snippet OMZP::vscode
zinit snippet OMZP::web-search
if command -v git-lfs > /dev/null 2>&1; then