返回 登录
0

The Fuck:为终端命令自动纠错

阅读2266

这个应用其名称恰是我们在终端操作遇阻时候的心情...

GitHub 代码托管:https://github.com/nvbn/thefuck

先解释下有什么用,原 PO 主给了几个例子:

➜ apt-get install vim

E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)

E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

➜ fuck

sudo apt-get install vim

[sudo] password for nvbn: Reading package lists... Done ...

你看,操作出错,只要输入命令 fuck,就自动得到修复...

评论