Fix command. Run fc and it will open an editor with the last command, and then run it on exit.
fc
Trace: • bash_built-in_commands