mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-23 09:13:58 +08:00
10 lines
176 B
Bash
10 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
|