aboutsummaryrefslogtreecommitdiffstats
path: root/_zsh
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-05-15 15:21:14 +0800
committerAaron LI <aaronly.me@gmail.com>2016-05-15 15:21:14 +0800
commit71fcdcb32cb4b0740c4c12b706251799b54cfd5c (patch)
treed9f2cf193c8fe20417b724fdef3b7f7b336ea69c /_zsh
parentbe435eda10abaf123d8e32cfff7d8f9f76831b27 (diff)
downloaddotfiles-71fcdcb32cb4b0740c4c12b706251799b54cfd5c.tar.bz2
Move GPG_TTY to shell configuration
Diffstat (limited to '_zsh')
-rw-r--r--_zsh/90-exports.zsh5
1 files changed, 4 insertions, 1 deletions
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: #