Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Brace list completion errors when pre-brace word contains escaped characters
- X-seq: zsh-workers 38706
- From: "Nikolay Aleksandrovich Pavlov (ZyX)" <kp-pav@xxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Brace list completion errors when pre-brace word contains escaped characters
- Date: Fri, 17 Jun 2016 22:19:00 +0300
- Authentication-results: mxback8j.mail.yandex.net; dkim=pass header.i=@yandex.ru
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1466191140; bh=bzOd35zwcNrd9A/0SMZWGM9f3sf66JctFuIJu2pO9dg=; h=X-Yandex-Sender-Uid:From:To:Subject:MIME-Version:Message-Id: X-Mailer:Date:Content-Transfer-Encoding:Content-Type; b=txAOPSQDbpu/RCw4IYyVTtPTqtRckSAtx3O20FyV85bE3u40zZP3KPgOP1n/yMu+s aUMzzVYIr0L7QrgUM5RFP9Zouvvepo4vXOg8nmNM4ngHAbmdyGZdSFSYv4Cxv40Xec CfPjJO9ckwpc41v9vXXB5Do+cLyXGm+Y59x+JpGc=
- 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
Consider the following code:
cd /tmp
touch foo\ bar\'baz\ test
mkdir foo\ bar\'baz\ tset
zsh -f
% autoload compinit
% compinit
% echo foo\ bar\'baz\ t{<Tab>
This will turn last line into
% echo foo\ bar\'baz{\ t
which is obviously not what user expects. Second `<Tab>` produces
% echo foo\ bar\'b{az\ t
. Third
% echo foo\ bar\{'baz\ t
. Since brace now appeared to be escaped fourth `<Tab>` does nothing.
zsh version is 5.2.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author