]> git.friedersdorff.com Git - max/dotfiles.git/blobdiff - bash/.bashrc
Launch gpg-agent with X
[max/dotfiles.git] / bash / .bashrc
index c58049c1966f8934c922f0f2ebd81633efe1a8df..3bf2436ee46d77555c31ebec35e180fc0e19c76c 100644 (file)
@@ -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
-