Skip to content

Instantly share code, notes, and snippets.

@raabf
Created January 7, 2017 16:03
Show Gist options
  • Save raabf/c330ac676b047f3ed1bf4eed14ab3989 to your computer and use it in GitHub Desktop.
Save raabf/c330ac676b047f3ed1bf4eed14ab3989 to your computer and use it in GitHub Desktop.
restarts the gpg-agent. often necessary because it is so faulty program.
#!/bin/bash
# restarts the gpg-agent
# often necessary because it is so faulty program
killall gpg-agent || true
gpg-agent --daemon
@Chrisae9
Copy link

Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment