zsh/plugins.zsh

41 lines
1.5 KiB
Bash
Raw Normal View History

# Менеджер плагинов antibody
source <(antibody init)
# Плагины
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
2020-04-04 20:33:34 +00:00
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
zstyle ':notify:*' expire-time 6000
zstyle ':notify:*' command-complete-timeout 20
fi
if command -v peco > /dev/null 2>&1; then
antibody bundle jimeh/zsh-peco-history
fi
2020-03-30 16:58:09 +00:00
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
export DISABLE_FZF_KEY_BINDINGS=true
antibody bundle ohmyzsh/ohmyzsh path:plugins/fzf
# fzf
if [ -e /usr/share/doc/fzf/examples/key-bindings.zsh ]; then
. /usr/share/doc/fzf/examples/key-bindings.zsh
fi
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
2020-03-30 16:58:09 +00:00
antibody bundle ohmyzsh/ohmyzsh path:plugins/sudo
antibody bundle ohmyzsh/ohmyzsh path:plugins/systemd
antibody bundle ohmyzsh/ohmyzsh path:plugins/vim-interaction
antibody bundle ohmyzsh/ohmyzsh path:plugins/web-search
2020-12-19 09:46:34 +00:00
antibody bundle djui/alias-tips