X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;ds=sidebyside;f=bash%2F.bashrc;fp=bash%2F.bashrc;h=9413671004c9a1aa828f881871507dfc42e58853;hb=6064692c3e68554e4aa791befac2bf8b496e4aee;hp=3cf998a6047a9e4ca9da5f73f8a6d34be1679569;hpb=37c0c591dbdcc61e0e549838bfb0b8422344ef10;p=max%2Fdotfiles.git diff --git a/bash/.bashrc b/bash/.bashrc index 3cf998a..9413671 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -112,3 +112,14 @@ function __prompt_command() PS1+="\$ " } PROMPT_COMMAND=__prompt_command + + +if [ -f "${HOME}/.gpg-agent-info" ]; then + . "${HOME}/.gpg-agent-info" + export GPG_AGENT_INFO + export SSH_AUTH_SOCK +fi + + +# Set GPG TTY +export GPG_TTY=$(tty)