#N/A: Add sudo_command_from_user_path rule

This commit is contained in:
Vladimir Iakovlev
2017-02-09 16:09:37 +01:00
parent 6f842ab747
commit bbed17fe07
3 changed files with 61 additions and 0 deletions
+1
View File
@@ -235,6 +235,7 @@ using the matched rule and runs it. Rules enabled by default are as follows:
* `sl_ls` – changes `sl` to `ls`;
* `ssh_known_hosts` – removes host from `known_hosts` on warning;
* `sudo` – prepends `sudo` to previous command if it failed because of permissions;
* `sudo_command_from_user_path` – runs commands from users `$PATH` with `sudo`;
* `switch_lang` – switches command from your local layout to en;
* `systemctl` – correctly orders parameters of confusing `systemctl`;
* `test.py` – runs `py.test` instead of `test.py`;