Discover, install, and configure shell plugins with Fig Plugin Store →

1Password Plugin

1Password Oh-My-Zsh Plugin

8 stars
3 forks

1Password (op) plugin

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.

Function Purpose
1ps Sign in, setting the returned session variable in the current shell
1pt Copy the returned TOPT using xclip

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

plugins=(... op)