mirror of
https://github.com/drduh/YubiKey-Guide.git
synced 2024-11-22 15:28:06 +00:00
consolidate agent commands
This commit is contained in:
parent
c110bb8ec0
commit
d0928bc007
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user