changeset 61:37fb3d013086

Automated merge with https://xanthippe/hg/zsh-env
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 03 Sep 2013 07:45:23 +0200
parents 46fb22ffffa8 (current diff) b2d78d66fa8c (diff)
children 16d8d652fcf1
files
diffstat 1 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/zshrc-xanthippe	Thu Aug 29 09:16:57 2013 +0200
+++ b/zshrc-xanthippe	Tue Sep 03 07:45:23 2013 +0200
@@ -2,9 +2,15 @@
 # zshrc for xanthippe
 #
 
-. $HOME/.zsh-env/zshrc-jdk
-. $HOME/.zsh-env/zshrc-maven
-. $HOME/.zsh-env/zshrc-bindkey
+. ${HOME}/.zsh-env/zshrc-jdk
+. ${HOME}/.zsh-env/zshrc-maven
+. ${HOME}/.zsh-env/zshrc-bindkey
+
+GPG_AGENT_FILE="${HOME}/.gnupg/.gpg-agent-info"
+if [ -f "${GPG_AGENT_FILE}" ]; then
+    . "${GPG_AGENT_FILE}"
+    export GPG_AGENT_INFO
+fi
 
 export GPG_TTY=`tty`
 export PATH="$HOME/bin:${PATH}"