fuck自动纠错补全功能

来源:互联网 发布:知乎精英 编辑:程序博客网 时间:2024/05/20 06:27

How it works

The Fuck tries to match a rule for the previous command, creates a new command using the matched rule and runs it. Rules enabled by default are as follows:

➜ apt-get install vimE: 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?➜ fucksudo apt-get install vim[sudo] password fornvbn:Reading package lists... Done...


https://github.com/nvbn/thefuck
https://github.com/nvbn/thefuck
0 0
原创粉丝点击