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

Re: PATCH: updated emulate completion



On Fri, 30 Jan 2015 08:56:04 -0800
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Jan 30,  4:19pm, Peter Stephenson wrote:
> }
> } +++ b/Completion/Unix/Type/_cmdstring
> } @@ -0,0 +1,6 @@
> } +#autoload
> } +
> } +# This is for a quoted argument that will be interpreted as a command.
> } +
> } +compset -q
> } +_normal
> 
> 
> Perhaps we could use that in _sh, _sudo, etc.?

It's now in _sh, but yes, the idea is this could be more widespread and
if we find command string handling needs tweaking it can happen in one
place.

pws



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