Правка параметров для агентов

This commit is contained in:
Andrei Astafev 2022-12-22 21:56:13 +03:00
parent 5e593ade5e
commit 0943137da8

View File

@ -3,41 +3,38 @@
# Copy this file to 55-agents.user.zsh and modify to your needs
##
# SSH agent
##
# SSH agent #{{{
# if command -v ssh-agent >/dev/null 2>&1; then
# zstyle :omz:plugins:ssh-agent agent-forwarding on
# zstyle :omz:plugins:ssh-agent identities id_rsa
# zstyle :omz:plugins:ssh-agent lifetime 10h
# zinit snippet OMZP::ssh-agent
# fi
#}}}
##
# GPG agent
##
# GPG agent #{{{
# if command -v gpg-agent >/dev/null 2>&1; then
# zinit snippet OMZP::gpg-agent
# if command -v gpg-conf >/dev/null 2>&1; then
# gpgconf --create-socketdir
# fi
# fi
#}}}
##
# Keychain
##
# Keychain #{{{
# if command -v keychain >/dev/null 2>&1; then
# zstyle :omz:plugins:keychain identities id_rsa 01234567
# zstyle :omz:plugins:keychain options --quiet --inherit any-once --noask --nocolor --gpg2 --absolute --dir ~/.cache/keychain
# zstyle :omz:plugins:keychain options --quiet --inherit any-once --noask --nocolor --absolute --dir ~/.cache/keychain
# zstyle :omz:plugins:keychain agents gpg,ssh
# zinit snippet OMZP::keychain
# fi
#}}}
# Вариант только для ssh-agent
# Keychain: вариант только для ssh-agent #{{{
# if command -v keychain >/dev/null 2>&1; then
# zstyle :omz:plugins:keychain identities id_rsa
# zstyle :omz:plugins:keychain options --quiet --inherit any-once --noask --nocolor
# zstyle :omz:plugins:keychain agents ssh
# zinit snippet OMZP::keychain
# fi
#}}}