2023-03-31

Last modified: Apr 25, 2023
Word count: 104

improved my ssh/gpg eval command today

I call this whenever I startup, and I had also manually gone to emacs to invoke M-x keychain-refresh-environment, but realized today I can just include it.

keychain --agents gpg,ssh --eval id_rsa 3FF04ACFC70CACD7 && emacsclient -e '(keychain-refresh-environment)' # sign ssh,gpg password, refresh emacs env

Don't forget the comment at the end to help C-r (zsh history search) to find that thing. One of my favorite protips.