Last active
October 31, 2023 14:43
-
-
Save iloveitaly/4eac0f4ddb3f8162f95fa3ed6f123a06 to your computer and use it in GitHub Desktop.
a zsh plug-in to load the one password shell completions and plugin environment variables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# make sure you execute this *after* asdf or other version managers are loaded | |
if (( $+commands[op] )); then | |
eval "$(op completion zsh)" | |
compdef _op op | |
# load plugins configuration | |
if [[ -f ~/.config/op/plugins.sh ]]; then | |
source ~/.config/op/plugins.sh | |
fi | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment