mirror of
https://github.com/EvolutionAPI/evolution-client-python.git
synced 2026-02-04 13:56:23 -06:00
initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# Complete keyring backends for `keyring -b` from `keyring --list-backends`
|
||||
# % keyring -b <TAB>
|
||||
# keyring priority
|
||||
# keyring.backends.chainer.ChainerBackend 10
|
||||
# keyring.backends.fail.Keyring 0
|
||||
# ... ...
|
||||
|
||||
backend_complete() {
|
||||
local line
|
||||
while read -r line; do
|
||||
choices+=(${${line/ \(priority: /\\\\:}/)/})
|
||||
done <<< "$($words[1] --list-backends)"
|
||||
_arguments "*:keyring priority:(($choices))"
|
||||
}
|
||||
Reference in New Issue
Block a user