aboutsummaryrefslogblamecommitdiff
path: root/keychain/shrc.d/keychain.sh
blob: 9a732384592810d7df77286322ec3d338b2a023e (plain) (tree)
1
2
3
4

                                                                           
                                   
              
# If GPG_AGENT_INFO is set, update GPG_TTY for clean use of pinentry(1) etc
[ -n "$GPG_AGENT_INFO" ] || return
GPG_TTY=$(command -p tty) || return
export GPG_TTY