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 /_profile | |
parent | 16b5bacd86fd2a2db9ca25f5a0474cf56e6a0cdd (diff) | |
download | dotfiles-3ee86078aa81942decf2e6063f8cc393f39dae55.tar.bz2 |
Update gpg-agent settings
Diffstat (limited to '_profile')
-rw-r--r-- | _profile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -4,7 +4,7 @@ # executed by the command interpreter for login shells # # Aaron LI -# Updated: 2016-05-15 +# Updated: 2016-06-13 # @@ -47,6 +47,12 @@ fi ### PATH }}} +### GnuPG +if ! pgrep -x -u "${USER}" gpg-agent >/dev/null 2>&1; then + eval $(gpg-agent --damon --write-env-file "${HOME}/.cache/gpg-agent-info") +fi + + ### Locale export LANG="en_US.UTF-8" export LC_CTYPE="zh_CN.UTF-8" |