Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] Added some arguments autocompletion to _todo.sh.



_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