aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-01-20 00:30:47 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-01-20 00:30:47 +0100
commitb5536fcb3df7b1598db93b6d883c67738e3f3aad (patch)
tree42553ae6350b8640abc8e35c45442918b0e09986
parent698dcc5508ee1c3209d57234c95bb0e77dee514d (diff)
downloaddotfiles-b5536fcb3df7b1598db93b6d883c67738e3f3aad.tar.xz
zshrc: add GPG_TTY
-rw-r--r--zsh/.zshrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 073287d..d61bafb 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -52,3 +52,6 @@ fi
if [[ -f "$ZDOTDIR"/zshrc-"$SHORTHOST" ]]; then
source "$ZDOTDIR"/zshrc-"$SHORTHOST"
fi
+
+GPG_TTY=$(tty)
+export GPG_TTY