Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _history-complete-older problems with $(
- X-seq: zsh-workers 37596
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: _history-complete-older problems with $(
- Date: Tue, 12 Jan 2016 17:59:42 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=HTXaUJgXyAblmpdVHaS5Si3LG53z7E7tDg5TDOjDRNA=; b=v4P/1D53JVrQM4bTCVtdjMMBBg0aqPOsbruqH9Vc7T80ex3hjYb4UAK7IvuwvHjWzb +l6J1A/plt+yYeXIUArbSVPFzt1BF59gtip1Y+j/OjUf87zUKLCabiXm42OpOSV9Epzk vVgGjkUjKEOR7EvsudRQW0RCYNuHe5TAZ0nGaz/fXrq9zuStl3qdxHNACDEncpZ4kZK2 1U4dvBnrTx9aev8Kftlwjz8W/3l4K1mUxZ1+EVKneU32hjG1xJ4RHreWhOuJJ4njaZEQ zTHuR2TpmbPA9VFhFjXEAmeiZD+DBtOs8EaKaVYzPQcSk+ABtnASAQVkbzYnW9MdgYqu 8Zmw==
- In-reply-to: <20160113010136.GA12633@tarsus.local2>
- 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: <CAKc7PVCnEX1rEhNqhtx7spyUVKCWukz4Tzkqr27-OV9+4hVciQ@mail.gmail.com> <CAKc7PVDVR=B8SWX+gSiNvtODWZ-25LtDz7jXVDH8BtrcxMnjXQ@mail.gmail.com> <160111161501.ZM5305@torch.brasslantern.com> <CAKc7PVBCEM=46YmgmhPR==Rq+pSfY+hgr8bcOMLV=zLFm6THBg@mail.gmail.com> <20160113010136.GA12633@tarsus.local2>
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