diff options
Diffstat (limited to '.config/shell/env')
-rw-r--r-- | .config/shell/env | 3 |
1 files changed, 2 insertions, 1 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 |