X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=bash%2F.bashrc;fp=bash%2F.bashrc;h=3bf2436ee46d77555c31ebec35e180fc0e19c76c;hb=51dee527665595592f8c1e18a1a5a2561865d823;hp=c58049c1966f8934c922f0f2ebd81633efe1a8df;hpb=a1fd5c5b855d191ff70fd747115e9531d579fc3f;p=max%2Fdotfiles.git diff --git a/bash/.bashrc b/bash/.bashrc index c58049c..3bf2436 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -123,14 +123,6 @@ function __prompt_command() } PROMPT_COMMAND=__prompt_command + GPG_TTY=$(tty) export GPG_TTY - -if ! pgrep -x -u "${USER}" gpg-agent>/dev/null 2>&1; then - eval $(gpg-agent --daemon \ - --use-standard-socket \ - --write-env-file "${HOME}/.gpg-agent-info") -fi - -gpg-connect-agent udatestartuptty /bye >/dev/null -