2018-10-19 16:36:51 +02:00
|
|
|
# gpg-agent
|
|
|
|
|
|
2025-09-06 03:55:42 +02:00
|
|
|
Applies some fixes for some common issues encountered with [GPG's gpg-agent](https://www.gnupg.org/documentation/manuals/gnupg/).
|
|
|
|
|
|
|
|
|
|
More specifically, this plugin:
|
|
|
|
|
|
|
|
|
|
- Updates the `GPG_TTY` environment variable before each shell execution.
|
|
|
|
|
- Updates the `SSH_AUTH_SOCK` environment variable if `enable-ssh-support` is turned on.
|
2018-10-19 16:36:51 +02:00
|
|
|
|
2021-10-05 13:54:53 +02:00
|
|
|
To use it, add `gpg-agent` to the plugins array of your zshrc file:
|
2020-03-11 19:57:46 +01:00
|
|
|
|
|
|
|
|
```zsh
|
2018-10-19 16:36:51 +02:00
|
|
|
plugins=(... gpg-agent)
|
|
|
|
|
```
|