Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp253945ybl; Fri, 16 Aug 2019 23:39:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqyZfrThZb27GaSaXB7S0Li+RocHRT/98pQViXdBYExUJ/3wniqo0vfEW4CQ3R13HtXH7RTX X-Received: by 2002:a17:902:bd49:: with SMTP id b9mr12730376plx.343.1566023971795; Fri, 16 Aug 2019 23:39:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566023971; cv=none; d=google.com; s=arc-20160816; b=YQNJQxW/XMsXdY6KOCbmnnbhFGZsb7tANr5Kycof2kWuCeCtiNRbm5mQUM7Yc7nTR9 aelq+9ihaC5XmKqhlibOhMFzX7KzOS5I8AsesbMH3G26470zkwRsaYB0towrJSZhNDNH o6QXe1+BtryiO8/URvc3IpXpUU98HYhomDrUn7uuUxpvE4r+rtYTyqFRJZQcP4C6IFsT TjDjq7xOXIyg0MOGJwUCNL9L5aKtDqnQb17We1lzoYrS+UOA3E0sY2DzMDWfsG2gBK37 vKe13ZNsuBpZeqZVxggzr87vjXg6zFT4BhJBAK0s0OTG/nx5SsL60JjyNO2oIVouP2yP ZGCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=YtabfBwQWtyC3zyjLV1LAil4r41xMNWr577SDboN4vk=; b=xXj/XqGKZakfsBgWWabWfm/E8s0LmCAeHWUwyyrMTR8D1iGKJ35RxeSqwgAHt0rncQ WW4VCUHm0yEjSsltvci1IDHynMXF3Ay6HnoVDoTVVm7NXhWcWRQolZVMcNiVXSGRaxlr SJsMHVQgMoGy6iX79j+HRrOPT0I/5+nYUG3sfjhfbpLnBN9qwHw6t+V6Bqmenmjy6JYd cEG5+n+ol7GyCLgqzuntBVBk6+6ChK9bDNElBD9lP3HFEsudmbX0FpAjm0ZHbb0Q3HA6 9cfXBVfCy16ikVshmEgnOj7N+NATVXFaEiL89vAM4BwnWxzRvLh5EK1+3Gy8unFPowua qlhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fkCeDVqS; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x130si5394784pgx.526.2019.08.16.23.39.17; Fri, 16 Aug 2019 23:39:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fkCeDVqS; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726194AbfHQGgZ (ORCPT + 99 others); Sat, 17 Aug 2019 02:36:25 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:34299 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726128AbfHQGgZ (ORCPT ); Sat, 17 Aug 2019 02:36:25 -0400 Received: by mail-pg1-f195.google.com with SMTP id n9so4016444pgc.1 for ; Fri, 16 Aug 2019 23:36:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YtabfBwQWtyC3zyjLV1LAil4r41xMNWr577SDboN4vk=; b=fkCeDVqSK77RVKd0DHClKH1TxHua43D/1RG89fDkQ6rgAaCS9mPPTlOSerUcc12Vbv 8+xah3Mer8o3TD0Oq1j3YG/cGy+5VuqAhAJfHrc3L1iXTPA0vYxU5vF3ZB1LZ6FNCbz4 G4NKf7cnYoU6GFe1Zeauby/Eqzpp9gRigbXHVAvVzApy9963XCd00ZyxBz5lVo0aTXel sxFuAP5jTFL4tgrphfJdCyDxG7lRyXqX05XMNxdzfjUkWhSRRJrCoYdDR2PYUkQXJKsl JLTd03Bh1FBlaqZmHcEPkDMeAPzIX5anD5+OEkXB9Yqh93JNGVtgZqnEEl6EXKoXsdTq VeZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YtabfBwQWtyC3zyjLV1LAil4r41xMNWr577SDboN4vk=; b=qtztKcuJebvKSEMajiRAYyYhg9CWLUSAViIPlt7LpCwM7oM1JMqaTGDCCu+7mt4RTo odU3evtop+uugKUnmyRmB6qeISpsf0KaXGvyE5DBAy+uhhjxEV+01o/QiruAe+lCTJJH C05KW/iW6se2WH8M0x1FT2UlpI22CX69quXsw24/4reCdSu5I60MVkglF9DjPRyxAyAU BalgJ6IO0K7Qzu926mP1kg6x+vTRaT/SqbogcmOyT1ftC4auKyMfVm4+MrqzRpb5thIt RukvivVA4NbYGpuaTc9IXw35RbpteKK7baL5UptW2t3nRF46d3gCVX3FN7NgSeCs+7yI 85Hg== X-Gm-Message-State: APjAAAUlWFwKwdCbl13OP2RIg0+cFIUZdn7I6ZHoIziSHSBPxrssvSLZ 4DYFE6o0mGtaoveyB/+qsl8dDgE= X-Received: by 2002:a17:90a:2047:: with SMTP id n65mr10976669pjc.5.1566023784356; Fri, 16 Aug 2019 23:36:24 -0700 (PDT) Received: from rxps.home ([2600:8800:1e00:242:3550:edee:2708:4ad0]) by smtp.gmail.com with ESMTPSA id y128sm6684095pgy.41.2019.08.16.23.36.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Aug 2019 23:36:23 -0700 (PDT) From: Ronan Pigott X-Google-Original-From: Ronan Pigott To: linux-bluetooth@vger.kernel.org Cc: Ronan Pigott Subject: [PATCH BlueZ v2 0/4] Add zsh completions for bluetoothctl Date: Fri, 16 Aug 2019 23:34:48 -0700 Message-Id: <20190817063452.23273-1-rpigott@berkeley.edu> X-Mailer: git-send-email 2.22.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org From: Ronan Pigott V2 of zsh completions for bluetoothctl 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. If you are a zsh user, try them out! Ronan Pigott (4): client/main: add help option for available args shared/shell: add --zsh-complete option completion: add bluetoothctl zsh completions build: install zsh completions Makefile.tools | 5 ++ client/main.c | 8 +++ completion/zsh/_bluetoothctl | 98 ++++++++++++++++++++++++++++++++++++ configure.ac | 12 +++++ src/shared/shell.c | 27 ++++++++++ 5 files changed, 150 insertions(+) create mode 100644 completion/zsh/_bluetoothctl -- 2.22.1