Use gpg-agent to store ssh keys
This commit is contained in:
parent
a17b0d6293
commit
9d7d8a9bfd
1 changed files with 2 additions and 0 deletions
|
@ -64,6 +64,8 @@ export PATH="$PATH:/usr/local/go/bin:/usr/local/opt/go/libexec/bin:$GOPATH/bin"
|
|||
# GnuPG stuff
|
||||
GPG_TTY=`tty`
|
||||
export GPG_TTY
|
||||
gpg-connect-agent /bye
|
||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||
|
||||
# composer global
|
||||
export PATH="$PATH:$HOME/.composer/vendor/bin"
|
||||
|
|
Loading…
Add table
Reference in a new issue