diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-06-17 10:32:40 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-06-17 10:32:56 +0800 |
commit | 3ee86078aa81942decf2e6063f8cc393f39dae55 (patch) | |
tree | 963a7d1fb0b81ca9d4a833c1adb8c6b0dde6ce7e /_zsh | |
parent | 16b5bacd86fd2a2db9ca25f5a0474cf56e6a0cdd (diff) | |
download | dotfiles-3ee86078aa81942decf2e6063f8cc393f39dae55.tar.bz2 |
Update gpg-agent settings
Diffstat (limited to '_zsh')
-rw-r--r-- | _zsh/90-exports.zsh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/_zsh/90-exports.zsh b/_zsh/90-exports.zsh index 13080a3..e679330 100644 --- a/_zsh/90-exports.zsh +++ b/_zsh/90-exports.zsh @@ -11,7 +11,9 @@ export LESS='--ignore-case --raw-control-chars' # Setup terminal, and turn on colors #export TERM='xterm-256color' -# GPG: see `gpg-agent(1)' +# GnuPG: see '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: # |