Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | zsh: drop no more arguments message | Ronan Pigott | 2022-08-24 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | This usage of the _message as a completion function is invalid, and will result in an error if invoked by _arguments when the user has a format style set for completion messages. We can just drop this message, since it is not necessary. Before: $ zstyle ':completion:*:messages' format '%d' $ bluetoothctl connect <TAB> _message:zformat:42: invalid argument: -J After: $ zstyle ':completion:*:messages' format '%d' $ bluetoothctl connect <TAB> 31:41:59:26:53:59 -- Bose QuietComfort 35 11:22:33:44:55:66 -- Pixel 5 | ||||
* | completion: add bluetoothctl zsh completions | Ronan Pigott | 2019-09-06 | 1 | -0/+98 |
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 |