If I run the following commands in bash:
mkdir foo cd !$
The second command will be interpreted as
cd foo and executed.
In zshell (at least with my current configuration), it will make the substitution, create the command
cd foo, and leave my cursor at the end of it, so that I have to hit enter again to execute.
Is there a way to make it just execute the command?