From: Ronan Pigott <rpigott@xxxxxxxxxxxx> bluetoothctl has a nice interactive interface, but some of its functions can be accessed quicker non-interactively, straight from the command line. I made these zsh completions to facilitate that, and I thought to submit them upstream, if you like, so now I've made this patch. If you are a zsh user, try them out! I also added the 'help' option in order to help the shell completions get their value from the same source as the interactive shell completions. Ronan Pigott (3): client/main: add help option for available args completion: add bluetoothctl zsh completions build: install zsh completions Makefile.tools | 5 ++ client/main.c | 8 +++ completion/zsh/_bluetoothctl | 131 +++++++++++++++++++++++++++++++++++ configure.ac | 12 ++++ 4 files changed, 156 insertions(+) create mode 100644 completion/zsh/_bluetoothctl -- 2.22.1