当前位置:网站首页>命令行自动纠错命令:fuck
命令行自动纠错命令:fuck
2022-04-22 01:42:00 【郭同学如是说】
thefuck
thefuck是github上一个项目,可纠正命令中的错误
安装与配置
以我所在的Ubuntu服务器为例:
sudo apt install thefuck
vim ~/.bashrc
#文件末加入下面语句,给thefuck取别名fuck
eval "$(thefuck --alias fuck)"
#使配置生效
source ~/.bashrc
官方推荐的安装方法:
On macOS or Linux, you can install The Fuck via Homebrew:
brew install thefuck
On Ubuntu / Mint, install The Fuck with the following commands:
sudo apt update
sudo apt install python3-dev python3-pip python3-setuptools
pip3 install thefuck --user
On FreeBSD, install The Fuck with the following commands:
pkg install thefuck
On ChromeOS, install The Fuck using chromebrew with the following command:
crew install thefuck
On other systems, install The Fuck by using pip:
pip install thefuck
版权声明
本文为[郭同学如是说]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_43864567/article/details/124326218
边栏推荐
- MSF系列——永恒之蓝漏洞
- Learn to let go
- AnatomyNet: Deep Learning for Fast and Fully Automated Whole-volume Segmentation of Head and Neck An
- 分布式事务解决方案
- net easy
- 如何调用EasyCVR平台的登录、播放地址、录像回看接口?
- What are the good products of gold insurance in 2022?
- C language logistics management and transportation system
- The idea window cannot be found in multi screen mode
- 阿里专家原创,自学编程找工作
猜你喜欢
随机推荐
[acwing] week 8
网络协议分析总结
Code source daily question div1 (101-109)
【shell】训练小脚本(不定时更新)
阿里巴巴android开发规范,高级程序员面试题
[PRANET] paper code interpretation (loss function) - Blank
(1) There was an error connecting to XXXX
Educator -- Analysis of IP protocol
Educator -- IP packet fragmentation
gin的回调函数语法的js实现 & es6的类用法 &js click回调函数打印e怎么实现的
The Sandbox 与 Design Egg 达成合作,将共同建立虚拟空间 Como 小小世界
How to make color ribbon font? AE tutorial teaches you
The rainbow in the sky is beautiful
Evolution of investment system
educoder -- ip包的分片
oracle安装server端
[PRANET] paper and code interpretation -- cfsong
DVWA series - file upload
Trollcave target penetration test
mysql 查询 上个月20号到 当前系统月份(本月)19号之间的数据




![[acwing] week 8](/img/80/424ed65cc45f7b6a9003d1ecf7db18.png)




