Загрузка плагинов, если найдены соответствующие программы

This commit is contained in:
Andrei Astafev 2020-04-04 23:40:58 +03:00
parent d578ba6b1a
commit ba04ed4f22

View File

@ -6,17 +6,27 @@ antibody bundle zdharma/fast-syntax-highlighting
antibody bundle zsh-users/zsh-autosuggestions
antibody bundle zsh-users/zsh-history-substring-search
antibody bundle zsh-users/zsh-completions
antibody bundle marzocchi/zsh-notify
antibody bundle buonomo/yarn-completion
antibody bundle jimeh/zsh-peco-history
antibody bundle rupa/z
if [[ "$DISPLAY" != '' ]] && command -v xdotool > /dev/null 2>&1 && command -v wmctrl > /dev/null 2>&1; then
antibody bundle marzocchi/zsh-notify
fi
if command -v peco > /dev/null 2>&1; then
antibody bundle jimeh/zsh-peco-history
fi
antibody bundle ohmyzsh/ohmyzsh path:plugins/command-not-found
antibody bundle ohmyzsh/ohmyzsh path:plugins/common-aliases
antibody bundle ohmyzsh/ohmyzsh path:plugins/debian
if command -v fzf > /dev/null 2>&1; then
antibody bundle ohmyzsh/ohmyzsh path:plugins/fzf
fi
if command -v git > /dev/null 2>&1; then
antibody bundle ohmyzsh/ohmyzsh path:plugins/git
fi
if command -v psql > /dev/null 2>&1; then
antibody bundle ohmyzsh/ohmyzsh path:plugins/postgres
fi
antibody bundle ohmyzsh/ohmyzsh path:plugins/sudo
antibody bundle ohmyzsh/ohmyzsh path:plugins/systemd
antibody bundle ohmyzsh/ohmyzsh path:plugins/vim-interaction