X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=bash%2F.bashrc;h=9413671004c9a1aa828f881871507dfc42e58853;hb=c5519e4addbda08164292ab30181c25e502cb12d;hp=3cf998a6047a9e4ca9da5f73f8a6d34be1679569;hpb=ccba59cd06d0018f2aedb04f13c17c9cca94a7ad;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)