diff --git a/thefuck/rules/goenv_no_such_command.py b/thefuck/rules/goenv_no_such_command.py index ec57a399..7e72cf74 100644 --- a/thefuck/rules/goenv_no_such_command.py +++ b/thefuck/rules/goenv_no_such_command.py @@ -19,5 +19,5 @@ def get_new_command(command): broken = re.findall(r"goenv: no such command '([^']*)'", command.output)[0] matched = [replace_argument(command.script, broken, common_typo) for common_typo in COMMON_TYPOS.get(broken, [])] - matched.extend(replace_command(command, broken, get_commands(command))) + matched.extend(replace_command(command, broken, get_commands())) return matched diff --git a/thefuck/rules/nodenv_no_such_command.py b/thefuck/rules/nodenv_no_such_command.py index d260a761..e60ad57e 100644 --- a/thefuck/rules/nodenv_no_such_command.py +++ b/thefuck/rules/nodenv_no_such_command.py @@ -19,5 +19,5 @@ def get_new_command(command): broken = re.findall(r"nodenv: no such command `([^']*)'", command.output)[0] matched = [replace_argument(command.script, broken, common_typo) for common_typo in COMMON_TYPOS.get(broken, [])] - matched.extend(replace_command(command, broken, get_commands(command))) + matched.extend(replace_command(command, broken, get_commands())) return matched diff --git a/thefuck/rules/pyenv_no_such_command.py b/thefuck/rules/pyenv_no_such_command.py index 9466b5ef..96c53f25 100644 --- a/thefuck/rules/pyenv_no_such_command.py +++ b/thefuck/rules/pyenv_no_such_command.py @@ -19,5 +19,5 @@ def get_new_command(command): broken = re.findall(r"pyenv: no such command `([^']*)'", command.output)[0] matched = [replace_argument(command.script, broken, common_typo) for common_typo in COMMON_TYPOS.get(broken, [])] - matched.extend(replace_command(command, broken, get_commands(command))) + matched.extend(replace_command(command, broken, get_commands())) return matched diff --git a/thefuck/rules/rbenv_no_such_command.py b/thefuck/rules/rbenv_no_such_command.py index 6481d7d4..ac82fdb4 100644 --- a/thefuck/rules/rbenv_no_such_command.py +++ b/thefuck/rules/rbenv_no_such_command.py @@ -19,5 +19,5 @@ def get_new_command(command): broken = re.findall(r"rbenv: no such command `([^']*)'", command.output)[0] matched = [replace_argument(command.script, broken, common_typo) for common_typo in COMMON_TYPOS.get(broken, [])] - matched.extend(replace_command(command, broken, get_commands(command))) + matched.extend(replace_command(command, broken, get_commands())) return matched