#43 Add rm_root as disabled by default rule

This commit is contained in:
nvbn
2015-04-22 16:08:54 +02:00
parent 14ef5c7d1c
commit fa4e4522b7
3 changed files with 10 additions and 2 deletions
+4
View File
@@ -161,6 +161,10 @@ using matched rule and run it. Rules enabled by default:
* `sudo` – prepends `sudo` to previous command if it failed because of permissions;
* `switch_layout` – switches command from your local layout to en.
Bundled, but not enabled by default:
* `rm_root` – adds `--no-preserve-root` to `rm -rf /` command.
## Creating your own rules
For adding your own rule you should create `your-rule-name.py`