Skip to content

zsh: mcfly incorrectly parses multi-line zhistory entries #87

@durin42

Description

@durin42

if you have a command typed as

echo foo \
  bar

that ends up as separate entries in mcfly, rather than a single one. It looks like mcfly is incorrectly parses the history entry? The relevant snippet for that from my .zsh_history is:

: 1593624164:0;echo foo \\
 bar

It looks like mcfly is getting confused by this, and I think it only gets the last line of the command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions