Merge pull request #110 from kimtree/support-brew

Support brew unknown command
This commit is contained in:
Vladimir Iakovlev
2015-04-23 15:04:18 +02:00
5 changed files with 154 additions and 0 deletions
+1
View File
@@ -154,6 +154,7 @@ sudo pip install thefuck --upgrade
The Fuck tries to match rule for the previous command, create new command
using matched rule and run it. Rules enabled by default:
* `brew_unknown_command` – fixes wrong brew commands, for example `brew docto/brew doctor`;
* `cd_parent` – changes `cd..` to `cd ..`;
* `cp_omitting_directory` – adds `-a` when you `cp` directory;
* `git_no_command` – fixes wrong git commands like `git brnch`;