summaryrefslogtreecommitdiff
path: root/plugins/1password/1password.plugin.zsh
blob: 941523ca8c1fec5d892901d0fb7552297ce7f6cb (plain)
1
2
3
4
5
6
7
8
9
# 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