ohmyzsh/plugins/1password/1password.plugin.zsh
2022-03-26 15:10:56 +01:00

9 lines
176 B
Bash

# Do nothing if op is not installed
(( ${+commands[op]} )) || return
# Load op completion
eval "$(op completion zsh)"
compdef _op op
# Load opswd function
autoload -Uz opswd