When I use tab-completion in zsh, the shell suggests me files and I discover that I'm in the wrong directory. How can I just delete the suggestion instead of backspace'ing it?
You can use the undo command (
C-x u) to cancel the effect of the last completion.
You can then press
M-q to “suspend” the current command, enter
cd correct-directory and resume your editing of that suspended command.