You can preview a command from the history list without having to re-run it. You can then edit the command line to modify the command.
Preview previous command ^P in the list.
Preview next command in ^N the list.
Preview command number n. !n:p
Preview most recent command !string:p starting with characters in string.