ohmyzsh/plugins/gpg-agent/README.md
G'lek Tarssza fc2fc9a28c
Fixed gpg-agent plugin not doing what the README says it does.
It now launches the `gpg-agent` executable (via `gpgconf --launch`) when
Zsh first starts up.

Also updated the README to explain what issues it fixes when the plugin
is enabled for better transparency about what the plugin actually does.

Signed-off-by: G'lek Tarssza <glek@glektarssza.com>
2025-09-04 11:25:51 -06:00

14 lines
416 B
Markdown

# gpg-agent
Enables [GPG's gpg-agent](https://www.gnupg.org/documentation/manuals/gnupg/) if it is not running and fixes some common issues.
Issues fixed are:
* The `GPG_TTY` environment variable being set incorrectly or not set at all.
* SSH agent support being broken when `enable-ssh-support` is enabled.
To use it, add `gpg-agent` to the plugins array of your zshrc file:
```zsh
plugins=(... gpg-agent)
```