2022-02-05 15:06:53 +00:00
|
|
|
if [[ $(uname -o) == "GNU/Linux" ]] && [[ $(lsb_release -si) != "Debian" ]] && [[ $(lsb_release -si) != "Ubuntu" ]]; then
|
2022-01-23 18:04:32 +00:00
|
|
|
export GPG_TTY=$TTY
|
|
|
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
|
|
|
gpgconf --launch gpg-agent
|
|
|
|
gpg-connect-agent updatestartuptty /bye &>/dev/null
|
|
|
|
fi
|