Skip to content

[BUG] Does not clear already filled commands before executing #4

Description

@bew

If in a shell session I opened but forgot about about it (deep in a tmux session for example), I already started to write a command like git checkout -b (and forgot about it).

Then when I try to run a command on all shell sessions like zc-all source /foo/bar, the already entered command is not cleared before executing the new command, resulting in the execution of unwanted command:
git checkout -b source /foo/bar

Instead it should do the same as zle push-input to keep pre-entered input, and pop it back after the next command execution,
and then run:
source /foo/bar
(and the previous input git checkout -b will be restored automatically)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions