From 3d12a50877a09c9c58e4963c46675ca21bf575b6 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 6 Dec 2016 01:52:41 +0800 Subject: _zsh: Remove "gpg-connect-agent" --- _zsh/90-exports.zsh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '_zsh') 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: # -- cgit v1.2.2