Edit Command History with fc

TIL you can edit CLI command history in vi/vim mode using the fc command.

# To edit last command history
fc
# To show command history and the command id
fc -l
# To select a command using command id
fc <command id>