Imagine I am typing at my terminal prompt, but actually decide not to type anything. Instead I just press enter.
Is there a way I can make zsh run a command now?
I want to potentially make this command variable, e.g. repeat the last command, or if the last command was
z then pressing enter on the blank prompt should run
How can I do this?