aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/shell/env3
-rw-r--r--.config/shell/sources2
2 files changed, 3 insertions, 2 deletions
diff --git a/.config/shell/env b/.config/shell/env
index 3ccbdd3..6b72eb7 100644
--- a/.config/shell/env
+++ b/.config/shell/env
@@ -43,7 +43,8 @@ export XDG_TEMPLATES_DIR="${HOME}/.local/templates"
#export XDG_RUNTIME_DIR=""
# export gpg-agent
-if [ -z "$GPG_AGENT_INFO" ]; then
+if ! gpg-connect-agent /bye
+then
eval $(gpg-agent --daemon)
fi
diff --git a/.config/shell/sources b/.config/shell/sources
index 6e3d078..d05c7f8 100644
--- a/.config/shell/sources
+++ b/.config/shell/sources
@@ -124,4 +124,4 @@ if [ -f "${HOME}/.config/shell/motd" ]; then
fi
# clear terminal
-[ "$DEBUG_DOTFILES" ] || clear
+#[ "$DEBUG_DOTFILES" ] || clear