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>2012-11-27 00:25:48 -0500
commit3cfabeec77580bc28db8e4d3ae49c11da31adee3 (patch)
treee3df57e4912f968d340d6f83332e0757ed5b1237 /.profile
parent1e9c2fdf6f8072002ef775a72c794170a7cea915 (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"