1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.zh/osx/fc.md

16 lines
196 B
Markdown
Raw Normal View History

2019-02-26 11:12:52 +08:00
# fc
2019-10-18 11:30:29 +08:00
> 打开最近的命令并编辑它.
2019-02-26 11:12:52 +08:00
2019-10-19 14:12:27 +08:00
- 在系统默认编辑器中打开:
2019-02-26 11:12:52 +08:00
`fc`
2019-10-19 14:12:27 +08:00
- 指定要使用的的编辑器:
2019-02-26 11:12:52 +08:00
`fc -e {{'emacs'}}`
2019-10-19 14:12:27 +08:00
- 从历史记录中列出最近的命令:
2019-02-26 11:12:52 +08:00
`fc -l`