Skip to content

Instantly share code, notes, and snippets.

@bandit145
Created October 6, 2018 05:44
Show Gist options
  • Save bandit145/81b5fd7763ff6c3540a758a526c215cc to your computer and use it in GitHub Desktop.
Save bandit145/81b5fd7763ff6c3540a758a526c215cc to your computer and use it in GitHub Desktop.
gpg loader
if [[ ! $(top -b -n 1 | grep gpg-agent) = *"gpg-agent"* ]]; then
gpg-agent --daemon > .gpg-info
fi
source ~/.gpg-info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment