Skip to content

Instantly share code, notes, and snippets.

@imnosov
imnosov / restart-gpg-agent.sh
Created July 2, 2021 07:29 — forked from raabf/restart-gpg-agent.sh
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