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

10 lines
176 B
Bash
Raw Normal View History

2024-06-19 00:06:56 +02: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