Created
June 30, 2017 05:47
-
-
Save ScottWales/9d1b45ffcc452186af0b083e4c534dd0 to your computer and use it in GitHub Desktop.
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
if ( -f ~/.gpg-agent-info ) then | |
setenv GPG_AGENT_INFO `sed -n 's/GPG_AGENT_INFO=\(.*\)/\1/p' ~/.gpg-agent-info` | |
endif | |
if ( ! -S `echo $GPG_AGENT_INFO | sed 's/:.*\+$//'` ) then | |
eval `gpg-agent --daemon --allow-preset-passphrase --batch --max-cache-ttl 43200 --write-env-file ~/.gpg-agent-info` | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment