bluez/completion/zsh
Ronan Pigott 760640a04e 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
2019-09-06 10:58:03 +03:00
..
_bluetoothctl completion: add bluetoothctl zsh completions 2019-09-06 10:58:03 +03:00