ohmyzsh/plugins/apple-passwords-otp
2024-11-18 18:16:41 +02:00
..
apple-passwords-otp.zsh feat: add apple-passwords-otp plugin 2024-11-18 18:16:41 +02:00
README.md feat: add apple-passwords-otp plugin 2024-11-18 18:16:41 +02:00

apple-passwords-otp

This plugin adds a function that allows to quickly copy the One-Time-Password (OTP) for a specific domain from Apple Passwords to the clipboard.

To use it, add apple-passwords-otp to the plugins array of your zshrc file:

plugins=(... apple-passwords-otp)

Functions

  • otp(domain) : copies the OTP for the specified domain to the clipboard

Usage

otp domain

Requirements

This plugin depends on the Apple Passwords CLI tool. It can be installed via Homebrew. Other requirements are jq to parse json files which can be installed via Homebrew as well. You need to have Mac OS Sequoia or later to use this plugin.