summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-08-30 20:20:50 +0200
committerFlorian Pritz <bluewind@xssn.at>2010-08-30 20:20:50 +0200
commit3e6d7cc01bd54dc910aed0332610c1ad263ab09d (patch)
tree509ab9a5e6c8a746a661ecdb2d4825cf6b75a5f2
parent575afb9020cbd1f0e27d5743c8f4444c7bca5ddc (diff)
downloaddotfiles-3e6d7cc01bd54dc910aed0332610c1ad263ab09d.tar.gz
dotfiles-3e6d7cc01bd54dc910aed0332610c1ad263ab09d.tar.xz
zshrc: don't run gpg agent on tty
Signed-off-by: Florian Pritz <bluewind@xssn.at>
-rw-r--r--.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index 985eb64..b59652f 100644
--- a/.zshrc
+++ b/.zshrc
@@ -350,7 +350,7 @@ yd(){
}
# some script to make this damn agent work easier
-if [[ -z $DISPLAY ]]; then
+if [[ -n $DISPLAY ]]; then
source ${HOME}/bin/gpg-agent.sh
fi