-
Committer:
Luiz Augusto von Dentz
-
Author(s):
Ronan Pigott
-
Date:
2019-09-06 07:58:03 UTC
-
Revision ID:
git-v1:760640a04e669939a4c2d69aa6ab7001f5208f2a
completion: add bluetoothctl zsh completions
This zsh compdef provides completions for the bluetoothctl command.
It has been modified from version 1 of this patch to get the command
names and descriptions from the newly introduced --zsh-complete.
It utilizes the output of `bluetoothctl devices` or
`bluetoothctl controllers` to provide a descriptive completion menu
in those contexts.
e.g.
$ bluetoothctl connect <TAB>
04:52:C7:0C:D4:A7 -- Bose QuietComfort 35
40:4E:36:D9:8F:28 -- Pixel 2
A4:38:CC:20:5D:E0 -- Pro Controller