]> git.friedersdorff.com Git - max/saltfiles.git/blobdiff - states/zsh/files/zshrc
Use gpg agent as ssh agent again
[max/saltfiles.git] / states / zsh / files / zshrc
index 458a57657dfd07628eb851711f384270b0fda707..2e44d7f41f23db42c01790b3cc72b844d11bee22 100644 (file)
@@ -86,3 +86,6 @@ chpwd() {
         fi
     fi
 }
+
+export GPG_TTY=$(tty)
+gpg-connect-agent updatestartuptty /bye >/dev/null