Git Extras

This commit is contained in:
Andrei Astafev 2022-12-18 12:37:32 +03:00
parent 311c596fca
commit 0d1192758c

View File

@ -43,11 +43,20 @@ 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::git-extras
zinit snippet OMZP::github
[ -z ${SSH_CONNECTION+set} ] && zinit snippet OMZP::git-auto-fetch
zinit load paulirish/git-open
[ -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
fi
if command -v psql > /dev/null 2>&1; then
zinit snippet OMZP::postgres
fi