From b5536fcb3df7b1598db93b6d883c67738e3f3aad Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 20 Jan 2015 00:30:47 +0100 Subject: zshrc: add GPG_TTY --- zsh/.zshrc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'zsh') 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 -- cgit v1.2.3-70-g09d2