1Password (op) plugin

March 23, 2020 ยท View on GitHub

This plugin command line completions for the 1Password op command.

The command line completion for users, groups, and vaults requires the jq command.

This plugin provides the following convenience functions.

FunctionPurpose
1psSign in, setting the returned session variable in the current shell
1ptCopy the returned TOPT using xclip

To use it, add op to the plugins array in your zshrc file:

plugins=(... op)