Skip to content

Commit

Permalink
adding gpg support
Browse files Browse the repository at this point in the history
  • Loading branch information
northrup committed Dec 23, 2015
1 parent 94d25cd commit b46513a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions zsh/gpg-agent.zsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# exec > /dev/null 2>&1
#
# SSH GPG Agent
#
# eval $(gpg-agent --daemon)
GPG_TTY=$(tty)
export GPG_TTY
if [ -f "${HOME}/.gpg-agent-info" ]; then
. "${HOME}/.gpg-agent-info"
export GPG_AGENT_INFO
export SSH_AUTH_SOCK
fi

0 comments on commit b46513a

Please sign in to comment.