From 4ae60291766fb5a8668a3a34fb1ba3c67e090956 Mon Sep 17 00:00:00 2001 From: Alex Larsen Date: Sun, 25 Nov 2018 08:27:30 -0700 Subject: [PATCH] fc: add page (#2608) --- pages/linux/fc.md | 15 +++++++++++++++ pages/osx/fc.md | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 pages/linux/fc.md create mode 100644 pages/osx/fc.md diff --git a/pages/linux/fc.md b/pages/linux/fc.md new file mode 100644 index 0000000000..7e6c464104 --- /dev/null +++ b/pages/linux/fc.md @@ -0,0 +1,15 @@ +# 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` diff --git a/pages/osx/fc.md b/pages/osx/fc.md new file mode 100644 index 0000000000..7e6c464104 --- /dev/null +++ b/pages/osx/fc.md @@ -0,0 +1,15 @@ +# 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`