@sudo_support
def match(command):
    return (command.script_parts
            and 'not found' in command.stderr
            and bool(get_close_matches(command.script_parts[0],
                                       get_all_executables())))
dataset/ETHPy150Open nvbn/thefuck/thefuck/rules/no_command.py/match/original