1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2025-11-04 13:21:19 +08:00
2025-09-06 09:55:42 +08:00

446 B

gpg-agent

Applies some fixes for some common issues encountered with GPG's gpg-agent.

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.

To use it, add gpg-agent to the plugins array of your zshrc file:

plugins=(... gpg-agent)