From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 24981 invoked from network); 26 Jun 2020 13:48:55 -0000 Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with ESMTPUTF8; 26 Jun 2020 13:48:55 -0000 Received: (qmail 11527 invoked by alias); 26 Jun 2020 13:48:41 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: Sender: zsh-workers@zsh.org X-Seq: 46118 Received: (qmail 13266 invoked by uid 1010); 26 Jun 2020 13:48:41 -0000 X-Qmail-Scanner-Diagnostics: from wout2-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.3/25850. spamassassin: 3.4.4. Clear:RC:0(64.147.123.25):SA:0(-2.6/5.0):. Processed in 4.498758 secs); 26 Jun 2020 13:48:41 -0000 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudeluddgjedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfgjfhfogggtgfesthejtddtredtvdenucfhrhhomhepffgrnhhi vghlucfuhhgrhhgrfhcuoegurdhssegurghnihgvlhdrshhhrghhrghfrdhnrghmvgeqne cuggftrfgrthhtvghrnhepfeduteegveehvdfhteevtedvudeludeijeeuudeujeejtdet uedtjefhtdfgieetnecukfhppeejledrudejiedrfeelrdeileenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegurdhssegurghnihgvlhdrshhh rghhrghfrdhnrghmvg X-ME-Proxy: Date: Fri, 26 Jun 2020 13:47:51 +0000 From: Daniel Shahaf To: Yasuhiro KIMURA Cc: zsh-workers@zsh.org Subject: Re: [PATCH] Add completion functions for Cygwin. Message-ID: <20200626134751.71d6a0f6@tarpaulin.shahaf.local2> In-Reply-To: <20200625182446.9687-1-yasu@utahime.org> References: <20200625182446.9687-1-yasu@utahime.org> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Yasuhiro KIMURA wrote on Fri, 26 Jun 2020 03:24 +0900: > They are probably created by Peter A. Castro, maintainer of Cygwin zsh > package. Thanks for the patch. Under what license has Peter A. Castro placed these files? Cheers, Daniel > --- > Completion/Cygwin/Command/_mkgroup | 18 ++++++++++++++++++ > Completion/Cygwin/Command/_mkpasswd | 24 ++++++++++++++++++++++++ > 2 files changed, 42 insertions(+) > create mode 100644 Completion/Cygwin/Command/_mkgroup > create mode 100644 Completion/Cygwin/Command/_mkpasswd > > diff --git a/Completion/Cygwin/Command/_mkgroup b/Completion/Cygwin/Command/_mkgroup > new file mode 100644 > index 000000000..49025547a > --- /dev/null > +++ b/Completion/Cygwin/Command/_mkgroup > @@ -0,0 +1,18 @@ > +#compdef mkgroup > + > +_arguments -C \ > + '(-l)--local[print local group information]' \ > + '(--local)-l[print local group information]' \ > + '(-d)--domain[print global group information from the domain specified (or from the current domain if there is no domain specified)]' \ > + '(--domain)-d[print global group information from the domain specified (or from the current domain if there is no domain specified)]' \ > + '(-o)--id-offset[offset change the default offset (10000) added to uids in domain accounts]' \ > + '(--id-offset)-o[offset change the default offset (10000) added to uids in domain accounts]' \ > + '(-s)--no-sids[don\'t print SIDs in pwd field (this affects ntsec)]' \ > + '(--no-sids)-s[don\'t print SIDs in pwd field (this affects ntsec)]' \ > + '(-u)--users[print user list in gr_mem field]' \ > + '(--users)-u[print user list in gr_mem field]' \ > + '(-h)--help[print this message]' \ > + '(--help)-h[print this message]' \ > + '(-v)--version[print version information and exit]' \ > + '(--version)-v[print version information and exit]' \ > + ':domain:' > diff --git a/Completion/Cygwin/Command/_mkpasswd b/Completion/Cygwin/Command/_mkpasswd > new file mode 100644 > index 000000000..de80a0086 > --- /dev/null > +++ b/Completion/Cygwin/Command/_mkpasswd > @@ -0,0 +1,24 @@ > +#compdef mkpasswd > + > +_arguments -C \ > + '(-l)--local[print local group information]' \ > + '(--local)-l[print local group information]' \ > + '(-d)--domain[print domain accounts (from current domain if no domain specified)]' \ > + '(--domain)-d[print domain accounts (from current domain if no domain specified)]' \ > + '(-o)--id-offset[change the default offset (10000) added to uids in domain accounts]' \ > + '(--id-offset)-o[change the default offset (10000) added to uids in domain accounts]' \ > + '(-g)--local-groups[print local group information too if no domain specified]' \ > + '(--local-groups)-g[print local group information too if no domain specified]' \ > + '(-m)--no-mount[don\'t use mount points for home dir]' \ > + '(--no-mount)-m[don\'t use mount points for home dir]' \ > + '(-s)--no-sids[don\'t print SIDs in pwd field (this affects ntsec)]' \ > + '(--no-sids)-s[don\'t print SIDs in pwd field (this affects ntsec)]' \ > + '(-p)--path-to-home[use specified path instead of user account home dir]' \ > + '(--path-to-home)-p[use specified path instead of user account home dir]' \ > + '(-u)--username[only return information for the specified user]' \ > + '(--username)-u[only return information for the specified user]' \ > + '(-h)--help[displays this message]' \ > + '(--help)-h[displays this message]' \ > + '(-v)--version[print version information and exit]' \ > + '(--version)-v[print version information and exit]' \ > + ':domain:'