Introduction

If you, like WaterCoFire, frequently use the terminal, you’ve probably had this experience: you carefully type out a long command, hit Enter, and get a red error message.

The Fuck shortens the fix-it process to a single word: type fuck, and it corrects and runs the command for you.

For example:

1
2
3
4
5
➜ git brnch
git: 'brnch' is not a git command.

➜ fuck
git branch
1
2
3
4
5
➜ apt-get install vim
E: Permission denied

➜ fuck
sudo apt-get install vim

It comes with over 150 built-in rules covering virtually all mainstream command-line tools: git, npm, pip, docker, brew, and more.

Visit

Click the link below to visit the repository. Please give the original author a star!

🔗 github.com/nvbn/thefuck