fc Open the most recent command and edit it. Open in the default system editor: fc Specify an editor to open with: fc -e {{'emacs'}} List recent commands from history: fc -l