Created
July 26, 2020 17:07
-
-
Save jwhb/43a8772a7f638a4dcfcec6eb0f9e0e8f to your computer and use it in GitHub Desktop.
WSL: init gpg-agent in Bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export GPG_TTY=$(tty) | |
pgrep -U $UID gpg-agent > /dev/null || gpg-connect-agent /bye > /dev/null 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment