Пример использования keychain только для ssh-agent

This commit is contained in:
Andrei Astafev 2022-12-21 10:50:42 +03:00
parent 9dc78aa73d
commit a545d3be52

View File

@ -27,8 +27,17 @@
# 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 identities id_rsa 01234567
# zstyle :omz:plugins:keychain options --quiet --inherit any-once --noask --nocolor --gpg2 --absolute --dir ~/.cache/keychain
# zstyle :omz:plugins:keychain agents gpg,ssh
# zinit snippet OMZP::keychain
# zinit snippet OMZP::keychain
# fi
# Вариант только для 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