my_bashrc/bashrc.d/gpg_ssh

6 lines
128 B
Text
Raw Normal View History

#!/bin/bash
# GPG and SSH
SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
export SSH_AUTH_SOCK
gpgconf --launch gpg-agent