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

Re: _history-complete-older problems with $(



On Jan 13,  1:01am, Daniel Shahaf wrote:
}
} Strictly speaking, ${(z)} should always be applied to $PREBUFFER$LBUFFER
} or $PREBUFFER$BUFFER, not merely to $BUFFER, otherwise things like
} string literals with embedded newlines can confuse the result.

Hmm, that's a difficult call.  That also means setting the $words array
to the full parse of $PREBUFFER$BUFFER, which I don't think matches what
the completion internals do.

OTOH the whole reason for this is to subvert the internals, so ...



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