Linux-Bluetooth Archive on lore.kernel.org
 help / color / Atom feed
From: Ronan Pigott <rpigott314@gmail.com>
To: linux-bluetooth@vger.kernel.org
Cc: Ronan Pigott <rpigott@berkeley.edu>
Subject: [PATCH BlueZ 0/3] Add zsh completions for bluetoothctl
Date: Fri, 16 Aug 2019 00:43:30 -0700
Message-ID: <20190816074333.24673-1-rpigott@berkeley.edu> (raw)

From: Ronan Pigott <rpigott@berkeley.edu>

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


             reply index

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-16  7:43 Ronan Pigott [this message]
2019-08-16  7:43 ` [PATCH BlueZ 1/3] client/main: add help option for available args Ronan Pigott
2019-08-16 11:29   ` Luiz Augusto von Dentz
2019-08-16  7:43 ` [PATCH BlueZ 2/3] completion: add bluetoothctl zsh completions Ronan Pigott
2019-08-16 11:36   ` Luiz Augusto von Dentz
2019-08-16  7:43 ` [PATCH BlueZ 3/3] build: install " Ronan Pigott

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190816074333.24673-1-rpigott@berkeley.edu \
    --to=rpigott314@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=rpigott@berkeley.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-Bluetooth Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-bluetooth/0 linux-bluetooth/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-bluetooth linux-bluetooth/ https://lore.kernel.org/linux-bluetooth \
		linux-bluetooth@vger.kernel.org linux-bluetooth@archiver.kernel.org
	public-inbox-index linux-bluetooth


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-bluetooth


AGPL code for this site: git clone https://public-inbox.org/ public-inbox