zsh-workers
 help / color / mirror / code / Atom feed
* Brace list completion errors when pre-brace word contains escaped characters
@ 2016-06-17 19:19 Nikolay Aleksandrovich Pavlov (ZyX)
  2016-06-17 22:51 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Nikolay Aleksandrovich Pavlov (ZyX) @ 2016-06-17 19:19 UTC (permalink / raw)
  To: Zsh hackers list

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-17 22:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-17 19:19 Brace list completion errors when pre-brace word contains escaped characters Nikolay Aleksandrovich Pavlov (ZyX)
2016-06-17 22:51 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).