Add a cargo_no_command rule

This commit is contained in:
mcarton
2015-06-06 17:06:10 +02:00
parent 01cf199866
commit f6c013d033
3 changed files with 37 additions and 1 deletions
+2 -1
View File
@@ -146,7 +146,8 @@ sudo pip install thefuck --upgrade
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:
* `cargo` – run `cargo build` instead of `cargo`;
* `cargo` – runs `cargo build` instead of `cargo`;
* `cargo_no_command` – fixes wrongs commands like `cargo buid`;
* `cd_correction` – spellchecks and correct failed cd commands;
* `cd_mkdir` – creates directories before cd'ing into them;
* `cd_parent` – changes `cd..` to `cd ..`;