dotfiles/dot_oh-my-zsh/plugins/1password/1password.plugin.zsh

10 lines
176 B
Bash
Raw Normal View History

2023-01-30 14:28:59 +01:00
# 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