@ 260802.2

200426.5 · 481b64a667e8d9aca522a0455a00f32dac1f4977

initial commit of ~/bin

This brings over everything that was in my bin-only repository.

I removed scripts that were unused or were no longer understood. I also moved any work-specific scripts to a separate (private) repository.

reading declarations

Changes to bin/clear-agents. All files

bin/clear-agents

new file mode 100755@@ -0,0 +1,11 @@+#!/bin/sh++# Clear the gpg agent's cached passwords. It has a TTL of 1 day, but we should+# clear them whenever we lock the screen too.+if cmd-exists gpgconf; then+    gpgconf --reload gpg-agent+fi+# And clear ssh agent keys as well. Use ssh-add-keys to re-add them.+if cmd-exists ssh-add; then+    ssh-add -D+fi