Suggest ag -Q when relevant

This detects when `ag` suggests the `-Q` option, and adds it.
This commit is contained in:
Joseph Frazier
2016-10-03 00:30:48 -04:00
parent db7dffdb44
commit db4b37910d
3 changed files with 37 additions and 0 deletions
+1
View File
@@ -144,6 +144,7 @@ sudo -H 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:
* `ag_literal` – adds `-Q` to `ag` when suggested;
* `aws_cli` – fixes misspelled commands like `aws dynamdb scan`
* `cargo` – runs `cargo build` instead of `cargo`;
* `cargo_no_command` – fixes wrongs commands like `cargo buid`;