diff options
-rw-r--r-- | _zsh/90-exports.zsh | 5 |
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: # |