Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Added some arguments autocompletion to _todo.sh.
- X-seq: zsh-workers 41619
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: "_RuRo_" <ruro.ruro@xxxxx>, zsh-workers@xxxxxxx
- Subject: Re: [PATCH] Added some arguments autocompletion to _todo.sh.
- Date: Tue, 29 Aug 2017 01:59:02 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=5tTWEr kvhGTet3JZ+hq9e1BIMFJcNDCowq7L3v3XCIU=; b=h4V0jojmU6sM5IsjNILev+ waviAw7JoL2AKlCW1kOZ9qihZMFe4mUAVAs32sHxzae3q+4XAF5K//BozXXeyHYs wGXWD9rk1Dphulcg+fX4Ij3irBbGp5C35myJm8kapJhh/RwAXxLPHaEzMkYyXmJT 0DavpMUx99srOWFfuM4MJFivptPr1HuuK8SEj0F8XB/rCRZLLzVn42ECYhmLygKd iQXBXmjtjSOh8bgGbIR7hwrOugU6bJjCBQ74+IjyVkNsPtRQHNpd1OcVq6bwnYdn CZvBabA1yPgC3uEPuJIxv3YR/2ckUqr7luafQVveQvXIqr2rjJLeVR2s5nX44ccg ==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=5tTWEr kvhGTet3JZ+hq9e1BIMFJcNDCowq7L3v3XCIU=; b=fsOCIGKBUOjBaVO1LuzEXm cw3/Og4TeHG/37GBm4t6jFU3HtKVRqjXG6leZRTjm4HBUkEdvwiTQb+0GpIY+hqL B//F4e2cb676qeze3z/v9T3nA/9zQ4Q6JQAfmlilKuvIWrkMgpd3yD1zE+BiSlb+ t8kBRFld9mhLuYOxONkLIzwfpgXif75cmdtd13rA17EfiP+OlsQuvigrEkgaX/f/ zFgyzF9zsHrbkIbMMPX1APDAxQR78FVEZumNGtfXuf8dh92UCbALsr9x/zPqDvUg OlQUxRS9CmPaU25zV5OwZr1xus4UAvpFnfE8RX9fvp0qwpxP+LxiCZr/KTuPWvzw ==
- In-reply-to: <20170828172455.4mfzffrir734dnfl@yandex.ru>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20170828172455.4mfzffrir734dnfl@yandex.ru>
_RuRo_ wrote on Mon, 28 Aug 2017 20:24 +0300:
> +++ b/Completion/Unix/Command/_todo.sh
> @@ -17,12 +17,24 @@ local -a cmdlist itemlist match mbegin mend
> _arguments -s -n : \
> + '-@[hide context names]' \
According to the help output you referenced, this option can be
specified twice. This could be implemented by prefixing the -@ with
a *. I'm not sure if there is an easy way to allow the option to be
completed either once or twice but not more.
> + '-\+[hide project names]' \
Likewise this option (and others).
> + '-a[dont auto-archive tasks when done]' \
I've corrected the spelling of "don't" and committed the patch. Thanks!
Messages sorted by:
Reverse Date,
Date,
Thread,
Author