From 71fcdcb32cb4b0740c4c12b706251799b54cfd5c Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 15 May 2016 15:21:14 +0800 Subject: Move GPG_TTY to shell configuration --- _zsh/90-exports.zsh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '_zsh') diff --git a/_zsh/90-exports.zsh b/_zsh/90-exports.zsh index 8dab42d..13080a3 100644 --- a/_zsh/90-exports.zsh +++ b/_zsh/90-exports.zsh @@ -9,6 +9,9 @@ export PAGER='less' export LESS='--ignore-case --raw-control-chars' # Setup terminal, and turn on colors -export TERM='xterm-256color' +#export TERM='xterm-256color' + +# GPG: see `gpg-agent(1)' +export GPG_TTY=$(tty) # vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=zsh: # -- cgit v1.2.2