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)
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/barInstead it should do the same as
zle push-inputto 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 -bwill be restored automatically)