aboutsummaryrefslogblamecommitdiff
path: root/sh/shrc.d/keychain.sh
blob: d9aaf63f23e469e464c97cdd01081d6901eb181a (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)
export GPG_TTY