zsh/45-plugins.zsh

87 lines
2.5 KiB
Bash
Raw Normal View History

zinit load willghatch/zsh-saneopt
zinit load mafredri/zsh-async
export ZSHZ_CASE=smart
export ZSHZ_DATA="${ZSH_CACHE_DIR}/z"
2022-12-18 14:39:40 +00:00
zinit ice wait'!0' depth'1'
zinit light agkozak/zsh-z
if [ "$(id -u)" != "0" ] && [ -n ${DISPLAY+set} ]; then
zstyle ':notify:*' expire-time 5000
zstyle ':notify:*' command-complete-timeout 20
zstyle ':notify:*' enable-on-ssh yes
zinit light marzocchi/zsh-notify
fi
2022-12-18 09:17:48 +00:00
zinit ice wait'!0' from"gh-r" as"program"
zinit light denisidoro/navi
zinit snippet https://github.com/denisidoro/navi/blob/master/shell/navi.plugin.zsh
2022-12-18 14:39:40 +00:00
zinit snippet OMZL::clipboard.zsh
zinit snippet OMZL::key-bindings.zsh
2022-12-18 14:39:40 +00:00
zinit snippet OMZL::termsupport.zsh
zinit snippet OMZP::autojump
zinit snippet OMZP::command-not-found
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
zinit snippet OMZP::vscode
zinit snippet OMZP::web-search
zinit load brymck/print-alias
2022-12-18 08:51:02 +00:00
zinit ice wait'!0' from"gh-r" as"program"
zinit light junegunn/fzf
zinit ice 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 wait'!0' lucid
zinit light joshskidmore/zsh-fzf-history-search
if command -v git > /dev/null 2>&1; then
GIT_AUTO_FETCH_INTERVAL=3600
zinit snippet OMZP::git
zinit snippet OMZP::github
zinit load paulirish/git-open
2022-12-18 09:37:32 +00:00
[ -z ${SSH_CONNECTION+set} ] && zinit snippet OMZP::git-auto-fetch
if [ -x /usr/bin/git-extras ]; then
zinit snippet OMZP::git-extras
else
2022-12-18 14:39:40 +00:00
zinit lucid wait'0a' depth"1" for \
2022-12-18 09:37:32 +00:00
as"program" \
pick"$ZPFX/bin/git-*" \
src"etc/git-extras-completion.zsh" \
make"PREFIX=$ZPFX" tj/git-extras
fi
fi
2022-12-18 09:37:32 +00:00
if command -v psql > /dev/null 2>&1; then
zinit snippet OMZP::postgres
fi
if command -v sudo > /dev/null 2>&1; then
zinit snippet OMZP::sudo
fi
if command -v systemctl > /dev/null 2>&1; then
zinit snippet OMZP::systemd
fi
if command -v vim > /dev/null 2>&1; then
zinit snippet OMZP::vim-interaction
fi
if command -v tmux > /dev/null 2>&1; then
zstyle ':prezto:module:tmux:auto-start' local 'no'
zstyle ':prezto:module:tmux:auto-start' remote 'no'
zstyle ':prezto:module:tmux:session' name "$(hostname)"
zinit ice pick'init.zsh'
zinit light laggardkernel/zsh-tmux
zinit light amyreese/zsh-titles
fi
if command -v kitty > /dev/null 2>&1; then
zinit load redxtech/zsh-kitty
fi