my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.0 KiB

3 years ago
  1. # keychain plugin
  2. This plugin starts automatically [`keychain`](https://www.funtoo.org/Keychain)
  3. to set up and load whichever credentials you want for both gpg and ssh
  4. connections.
  5. To enable it, add `keychain` to your plugins:
  6. ```zsh
  7. plugins=(... keychain)
  8. ```
  9. **NOTE**: It is HIGHLY recommended to also enable the `gpg-agent` plugin.
  10. ## Instructions
  11. **IMPORTANT: put these settings _before_ the line that sources oh-my-zsh**
  12. **To adjust the agents** that keychain manages, use the `agents` style as
  13. shown below. By default, only the `gpg` agent is managed.
  14. ```zsh
  15. zstyle :omz:plugins:keychain agents gpg,ssh
  16. ```
  17. To **load multiple identities** use the `identities` style, For example:
  18. ```zsh
  19. zstyle :omz:plugins:keychain identities id_ed25519 id_github 2C5879C2
  20. ```
  21. **To pass additional options** to the `keychain` program, use the
  22. `options` style; for example:
  23. ```zsh
  24. zstyle :omz:plugins:keychain options --quiet
  25. ```
  26. ## Credits
  27. Based on code from the `ssh-agent` plugin.
  28. ## References
  29. - [Keychain](https://www.funtoo.org/Keychain)