Ubuntu Pastebin

Paste from acheronuk at Sat, 27 Aug 2016 07:43:25 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
GPG_TTY=$(tty)
export GPG_TTY

function gpg-update() {
    GPG_PID=$(pidof gpg-agent)
    GPG_AGENT_INFO=${HOME}/.gnupg/S.gpg-agent:$GPG_PID:1
    export GPG_AGENT_INFO
}

gpg-update
Download as text