aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-12-06 01:52:41 +0800
committerAaron LI <aaronly.me@outlook.com>2016-12-06 01:52:41 +0800
commit3d12a50877a09c9c58e4963c46675ca21bf575b6 (patch)
treedcc5114b4c8026a94212eec211520e3583a03337
parenta33c005fd08354234b6c8599eaf6f6102e4fc655 (diff)
downloaddotfiles-3d12a50877a09c9c58e4963c46675ca21bf575b6.tar.bz2
_zsh: Remove "gpg-connect-agent"
-rw-r--r--_zsh/90-exports.zsh5
1 files changed, 2 insertions, 3 deletions
diff --git a/_zsh/90-exports.zsh b/_zsh/90-exports.zsh
index e430aea..b321737 100644
--- a/_zsh/90-exports.zsh
+++ b/_zsh/90-exports.zsh
@@ -6,9 +6,8 @@
# Generic environment variables and those needing been set only once
# should go to `~/.profile'.
-# GnuPG: see 'gpg-agent(1)'
+# This `GPG_TTY' variable should be set to the correct TTY where the shell
+# is running. See also `gpg-agent(1)'
export GPG_TTY=$(tty)
-# Refresh 'gpg-agent' tty in case user switches into an X session
-gpg-connect-agent updatestartuptty /bye >/dev/null
# vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=zsh: #