2022-12-17 16:17:36 +00:00
|
|
|
zinit load willghatch/zsh-saneopt
|
|
|
|
zinit load mafredri/zsh-async
|
|
|
|
|
|
|
|
export ZSHZ_CASE=smart
|
|
|
|
export ZSHZ_DATA="${ZSH_CACHE_DIR}/z"
|
|
|
|
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-17 16:17:36 +00:00
|
|
|
zinit snippet OMZL::key-bindings.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
|
2022-12-17 16:17:36 +00:00
|
|
|
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
|
|
|
|
zinit lucid wait'0a' for \
|
|
|
|
as"program" \
|
|
|
|
pick"$ZPFX/bin/git-*" \
|
|
|
|
src"etc/git-extras-completion.zsh" \
|
|
|
|
make"PREFIX=$ZPFX" tj/git-extras
|
|
|
|
fi
|
2022-12-17 16:17:36 +00:00
|
|
|
fi
|
2022-12-18 09:37:32 +00:00
|
|
|
|
2022-12-17 16:17:36 +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
|
|
|
|
|