diff --git a/README.md b/README.md index 5ac8b83e..bbf6d82c 100644 --- a/README.md +++ b/README.md @@ -184,6 +184,7 @@ following rules are enabled by default: * `chmod_x` – add execution bit; * `choco_install` – append common suffixes for chocolatey packages; * `composer_not_command` – fixes composer command name; +* `conda_mistype` – fixes conda commands; * `cp_create_destination` – creates a new directory when you attempt to `cp` or `mv` to a non existent one * `cp_omitting_directory` – adds `-a` when you `cp` directory; * `cpp11` – adds missing `-std=c++11` to `g++` or `clang++`; diff --git a/thefuck/rules/conda_mistype.py b/thefuck/rules/conda_mistype.py index c0e9202e..a5582d3f 100644 --- a/thefuck/rules/conda_mistype.py +++ b/thefuck/rules/conda_mistype.py @@ -1,5 +1,5 @@ import re -from thefuck.utils import get_all_matched_commands, replace_command +from thefuck.utils import replace_command def match(command):