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

Re: [PATCH v2] Correct completion of 'tmux new <TAB>'.



Bart Schaefer wrote on Thu, 20 Jul 2017 20:12 -0700:
> I believe I understand what this is doing, but "if there is a single
> argument" isn't entirely clear.  It does NOT mean "if there is a
> single positional parameter in the call to this function" (which is
> how I first read it, before I actually looked at the function
> definition); rather it means "if there is more than one word in
> argument position on the command line".
> 

I'll change to your wording before committing.  Thanks for the
blind review!

> Which in turn means this can only be used for argument-rest contexts, correct?

It is designed for this use-case, yes.



Messages sorted by: Reverse Date, Date, Thread, Author