1
0
mirror of https://github.com/drduh/YubiKey-Guide.git synced 2024-12-22 08:28:55 +00:00

consolidate agent commands

This commit is contained in:
drduh 2024-08-18 11:59:50 -07:00
parent c110bb8ec0
commit d0928bc007

View File

@ -1354,6 +1354,7 @@ Add the following to the shell rc file:
export GPG_TTY="$(tty)" export GPG_TTY="$(tty)"
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent gpgconf --launch gpg-agent
gpg-connect-agent updatestartuptty /bye > /dev/null
``` ```
For fish, `config.fish` should look like this (consider putting them into the `is-interactive` block): For fish, `config.fish` should look like this (consider putting them into the `is-interactive` block):