66 lines
1.8 KiB
Bash
66 lines
1.8 KiB
Bash
|
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
|
||
|
|
||
|
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::fzf
|
||
|
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
|
||
|
|
||
|
zinit ice lucid wait'0'
|
||
|
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::gitfast
|
||
|
zinit snippet OMZP::git-extras
|
||
|
zinit snippet OMZP::github
|
||
|
[ -z ${SSH_CONNECTION+set} ] && zinit snippet OMZP::git-auto-fetch
|
||
|
zinit load paulirish/git-open
|
||
|
fi
|
||
|
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
|
||
|
|