diff --git a/pages/common/fc.md b/pages/common/fc.md index b00d71906a..836d2814d2 100644 --- a/pages/common/fc.md +++ b/pages/common/fc.md @@ -1,9 +1,9 @@ # fc -> Open the most recent command and edit it. +> Open the most recent command for editing and then run it. > More information: . -- Open in the default system editor: +- Open the last command in the default system editor and run it after editing: `fc` @@ -19,6 +19,14 @@ `fc -l -r` -- List commands in a given interval: +- Edit and run a command from history: + +`fc {{number}}` + +- Edit commands in a given interval and run them: `fc '{{416}}' '{{420}}'` + +- Display help: + +`fc --help`