7 lines
301 B
Bash
7 lines
301 B
Bash
if [[ $(uname -o) == "GNU/Linux" ]] && [[ $(lsb_release -si) != "Debian" ]] && [[ $(lsb_release -si) != "Ubuntu" ]]; then
|
|
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
|