yubikey-plugin Enhancement

* Update the README.md file
  * Add key listing logic (auto-truncating if too long)
  * Some output cosmetics
This commit is contained in:
Pandu POLUAN 2017-12-28 12:35:19 +07:00
commit 47400ebc28
2 changed files with 29 additions and 4 deletions

View file

@ -9,3 +9,14 @@ This plugin will first try to detect location of the 'opensc-pkcs11.so' library,
Afterwards, it will try to detect if a 'shared ssh-agent' is already running, through a file in /run (preferred, but must be pre-created with the proper permissions), or in /tmp (fallback).
Then it will define several aliases.
## Optional Parameters
These parameters can be set before source-ing oh-my-zsh to customize the settings:
`YUBI_SHOWKEYS`
> If set to '1' or 'y' or 'yes', will list the keys contained in the 'shared ssh-agent'
`YUBI_SSHAGENT_AUTOINIT`
> If set to '1' or 'y' or 'yes', will automatically initialize the 'shared ssh-agent' if one is not found