Using keychain instead of gpg-agent

master
Dustin Swan 11 years ago
parent d1835deb3a
commit 0c55eae12f

15
zshrc

@ -4,7 +4,6 @@
# Linux
[[ -s /usr/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh ]] && . /usr/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh
bindkey -e
alias vi=vim
@ -56,14 +55,16 @@ if [[ -e /usr/share/chruby ]]; then
chruby $(cat ~/.ruby-version)
fi
eval `keychain --eval id_rsa`
# GPG
GPG_AGENT=$(which gpg-agent)
GPG_TTY=`tty`
export GPG_TTY
#GPG_AGENT=$(which gpg-agent)
#GPG_TTY=`tty`
#export GPG_TTY
if [ -f ${GPG_AGENT} ]; then
. ~/dotfiles/bin/gpg-agent.sh
fi
#if [ -f ${GPG_AGENT} ]; then
#. ~/dotfiles/bin/gpg-agent.sh
#fi
#autoload predict-on
#predict-on

Loading…
Cancel
Save