#591: Add path_from_history rule

This commit is contained in:
Vladimir Iakovlev
2017-03-13 19:05:34 +01:00
parent 350be285b8
commit 2379573cf2
4 changed files with 100 additions and 1 deletions
+1
View File
@@ -234,6 +234,7 @@ using the matched rule and runs it. Rules enabled by default are as follows:
* `python_command` – prepends `python` when you trying to run not executable/without `./` python script;
* `python_execute` – appends missing `.py` when executing Python files;
* `quotation_marks` – fixes uneven usage of `'` and `"` when containing args';
* `path_from_history` – replaces not found path with similar absolute path from history;
* `react_native_command_unrecognized` – fixes unrecognized `react-native` commands;
* `remove_trailing_cedilla` – remove trailling cedillas `ç`, a common typo for european keyboard layouts;
* `rm_dir` – adds `-rf` when you trying to remove directory;