aboutsummaryrefslogtreecommitdiffstats
path: root/_profile
diff options
context:
space:
mode:
Diffstat (limited to '_profile')
-rw-r--r--_profile8
1 files changed, 7 insertions, 1 deletions
diff --git a/_profile b/_profile
index 567ca8b..072a288 100644
--- a/_profile
+++ b/_profile
@@ -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"