From 782300fc5b52ae6e29d905a827efb55f2a6f9341 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Thu, 28 May 2020 14:53:34 +0200 Subject: Alter GPG agent check, and remove a clear call --- .config/shell/env | 3 ++- .config/shell/sources | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to '.config') 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 -- cgit v1.1