Add yarn_command_not_found rule
This addresses https://github.com/nvbn/thefuck/pull/607#issuecomment-283945505 The code was adapted from the `grunt_task_not_found` rule
This commit is contained in:
@@ -249,6 +249,7 @@ using the matched rule and runs it. Rules enabled by default are as follows:
|
||||
* `whois` – fixes `whois` command;
|
||||
* `workon_doesnt_exists` – fixes `virtualenvwrapper` env name os suggests to create new.
|
||||
* `yarn_alias` – fixes aliased `yarn` commands like `yarn ls`;
|
||||
* `yarn_command_not_found` – fixes misspelled `yarn` commands;
|
||||
|
||||
Enabled by default only on specific platforms:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user