summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-11-27 00:25:48 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-01-27 17:27:45 -0500
commit0f4a6cf04af0cb2a33637dda81dfd82adbc7acc6 (patch)
tree2a267742e1f53718ac209c41300a69f94c3746f2 /.profile
parent45a1be2b12ce1de669b6106a5eca4c9bc91a5f6a (diff)
stuff
Diffstat (limited to '.profile')
-rw-r--r--.profile4
1 files changed, 2 insertions, 2 deletions
diff --git a/.profile b/.profile
index a6c4d91..2d6f370 100644
--- a/.profile
+++ b/.profile
@@ -43,8 +43,8 @@ if [ -z "$GPGKEY" ] && [ -f "${HOME}/.gnupg/gpg.conf" ]; then
export GPGKEY=`sed -nr 's/^\s*default-key\s+//p' "${HOME}/.gnupg/gpg.conf"`
fi
if [ -z "$(pgrep -u `whoami` gpg-agent)" ]; then
- mkdir -p ${XDG_RUNTIME_DIR}/sessions/gpg
- gpg-agent --daemon --write-env-file "${XDG_RUNTIME_DIR}/sessions/gpg"
+ mkdir -p ${XDG_RUNTIME_DIR}/sessions
+ gpg-agent --daemon --write-env-file "${XDG_RUNTIME_DIR}/sessions/gpg" &>/dev/null
fi
if [ -f "${XDG_RUNTIME_DIR}/sessions/gpg" ]; then
. "${XDG_RUNTIME_DIR}/sessions/gpg"