SYMBOL INDEX (1470 symbols across 400 files) FILE: fastentrypoints.py function get_args (line 55) | def get_args(cls, dist, header=None): function main (line 80) | def main(): FILE: release.py function get_new_setup_py_lines (line 10) | def get_new_setup_py_lines(): FILE: tests/conftest.py function pytest_configure (line 10) | def pytest_configure(config): function pytest_addoption (line 14) | def pytest_addoption(parser): function no_memoize (line 22) | def no_memoize(monkeypatch): function settings (line 27) | def settings(request): function no_colors (line 38) | def no_colors(settings): function no_cache (line 43) | def no_cache(monkeypatch): function functional (line 48) | def functional(request): function source_root (line 55) | def source_root(): function set_shell (line 60) | def set_shell(monkeypatch): function os_environ (line 70) | def os_environ(monkeypatch): FILE: tests/entrypoints/test_alias.py function test_get_alias (line 14) | def test_get_alias(monkeypatch, mocker, py2, function test_print_alias (line 33) | def test_print_alias(mocker): FILE: tests/entrypoints/test_fix_command.py class TestGetRawCommand (line 6) | class TestGetRawCommand(object): method test_from_force_command_argument (line 7) | def test_from_force_command_argument(self): method test_from_command_argument (line 11) | def test_from_command_argument(self, os_environ): method test_from_history (line 22) | def test_from_history(self, os_environ, history, result): FILE: tests/entrypoints/test_not_configured.py function usage_tracker (line 10) | def usage_tracker(mocker): function usage_tracker_io (line 17) | def usage_tracker_io(usage_tracker): function usage_tracker_exists (line 26) | def usage_tracker_exists(usage_tracker): function _assert_tracker_updated (line 32) | def _assert_tracker_updated(usage_tracker_io, pid): function _change_tracker (line 38) | def _change_tracker(usage_tracker_io, pid): function shell_pid (line 46) | def shell_pid(mocker): function shell (line 52) | def shell(mocker): function shell_config (line 65) | def shell_config(mocker): function logs (line 75) | def logs(mocker): function test_for_generic_shell (line 80) | def test_for_generic_shell(shell, logs): function test_on_first_run (line 86) | def test_on_first_run(usage_tracker_io, usage_tracker_exists, shell_pid,... function test_on_run_after_other_commands (line 94) | def test_on_run_after_other_commands(usage_tracker_io, shell_pid, shell,... function test_on_first_run_from_current_shell (line 102) | def test_on_first_run_from_current_shell(usage_tracker_io, shell_pid, function test_when_cant_configure_automatically (line 111) | def test_when_cant_configure_automatically(shell_pid, shell, logs): function test_when_already_configured (line 122) | def test_when_already_configured(usage_tracker_io, shell_pid, function test_when_successfully_configured (line 132) | def test_when_successfully_configured(usage_tracker_io, shell_pid, FILE: tests/functional/conftest.py function build_container_mock (line 8) | def build_container_mock(mocker): function run_side_effect (line 12) | def run_side_effect(*args, **kwargs): function run_mock (line 19) | def run_mock(mocker): FILE: tests/functional/plots.py function _set_confirmation (line 1) | def _set_confirmation(proc, require): function with_confirmation (line 8) | def with_confirmation(proc, TIMEOUT): function history_changed (line 23) | def history_changed(proc, TIMEOUT, *to): function history_not_changed (line 31) | def history_not_changed(proc, TIMEOUT): function select_command_with_arrows (line 37) | def select_command_with_arrows(proc, TIMEOUT): function refuse_with_confirmation (line 59) | def refuse_with_confirmation(proc, TIMEOUT): function without_confirmation (line 74) | def without_confirmation(proc, TIMEOUT): function how_to_configure (line 85) | def how_to_configure(proc, TIMEOUT): FILE: tests/functional/test_bash.py function proc (line 28) | def proc(request, spawnu, TIMEOUT): function test_with_confirmation (line 40) | def test_with_confirmation(proc, TIMEOUT): function test_select_command_with_arrows (line 46) | def test_select_command_with_arrows(proc, TIMEOUT): function test_refuse_with_confirmation (line 52) | def test_refuse_with_confirmation(proc, TIMEOUT): function test_without_confirmation (line 58) | def test_without_confirmation(proc, TIMEOUT): function test_how_to_configure_alias (line 64) | def test_how_to_configure_alias(proc, TIMEOUT): FILE: tests/functional/test_fish.py function proc (line 10) | def proc(request, spawnu, TIMEOUT): function test_with_confirmation (line 18) | def test_with_confirmation(proc, TIMEOUT): function test_select_command_with_arrows (line 23) | def test_select_command_with_arrows(proc, TIMEOUT): function test_refuse_with_confirmation (line 28) | def test_refuse_with_confirmation(proc, TIMEOUT): function test_without_confirmation (line 33) | def test_without_confirmation(proc, TIMEOUT): FILE: tests/functional/test_tcsh.py function proc (line 10) | def proc(request, spawnu, TIMEOUT): function test_with_confirmation (line 19) | def test_with_confirmation(proc, TIMEOUT): function test_select_command_with_arrows (line 24) | def test_select_command_with_arrows(proc, TIMEOUT): function test_refuse_with_confirmation (line 29) | def test_refuse_with_confirmation(proc, TIMEOUT): function test_without_confirmation (line 34) | def test_without_confirmation(proc, TIMEOUT): FILE: tests/functional/test_zsh.py function proc (line 26) | def proc(request, spawnu, TIMEOUT): function test_with_confirmation (line 38) | def test_with_confirmation(proc, TIMEOUT): function test_select_command_with_arrows (line 44) | def test_select_command_with_arrows(proc, TIMEOUT): function test_refuse_with_confirmation (line 50) | def test_refuse_with_confirmation(proc, TIMEOUT): function test_without_confirmation (line 56) | def test_without_confirmation(proc, TIMEOUT): function test_how_to_configure_alias (line 62) | def test_how_to_configure_alias(proc, TIMEOUT): FILE: tests/output_readers/test_rerun.py class TestRerun (line 11) | class TestRerun(object): method setup_method (line 12) | def setup_method(self, test_method): method teardown_method (line 17) | def teardown_method(self, test_method): method test_get_output (line 22) | def test_get_output(self, popen_mock, wait_output_mock): method test_get_output_invalid_continuation_byte (line 28) | def test_get_output_invalid_continuation_byte(self, popen_mock): method test_get_output_unicode_misspell (line 37) | def test_get_output_unicode_misspell(self, wait_output_mock): method test_wait_output_is_slow (line 41) | def test_wait_output_is_slow(self, settings): method test_wait_output_is_not_slow (line 45) | def test_wait_output_is_not_slow(self, settings): method test_wait_output_timeout (line 50) | def test_wait_output_timeout(self, kill_process_mock): method test_wait_output_timeout_children (line 57) | def test_wait_output_timeout_children(self, kill_process_mock): method test_kill_process (line 63) | def test_kill_process(self): method test_kill_process_access_denied (line 69) | def test_kill_process_access_denied(self, logs_mock): FILE: tests/rules/test_adb_unknown_command.py function output (line 7) | def output(): function test_match (line 23) | def test_match(output, script): function test_not_match (line 30) | def test_not_match(script): function test_get_new_command (line 40) | def test_get_new_command(script, output, new_command): FILE: tests/rules/test_ag_literal.py function output (line 7) | def output(): function test_match (line 13) | def test_match(script, output): function test_not_match (line 18) | def test_not_match(script): function test_get_new_command (line 24) | def test_get_new_command(script, new_cmd, output): FILE: tests/rules/test_apt_get.py function test_match (line 13) | def test_match(mocker, command, packages): function test_not_match (line 30) | def test_not_match(mocker, command, packages, which): function test_get_new_command (line 49) | def test_get_new_command(mocker, command, new_command, packages): FILE: tests/rules/test_apt_get_search.py function test_match (line 6) | def test_match(): function test_not_match (line 20) | def test_not_match(command): function test_get_new_command (line 24) | def test_get_new_command(): FILE: tests/rules/test_apt_invalid_operation.py function test_match (line 123) | def test_match(script, output): function test_not_match (line 130) | def test_not_match(script, output): function set_help (line 135) | def set_help(mocker): function test_get_operations (line 149) | def test_get_operations(set_help, app, help_text, operations): function test_get_new_command (line 162) | def test_get_new_command(set_help, output, script, help_text, result): FILE: tests/rules/test_apt_list_upgradable.py function test_match (line 59) | def test_match(output): function test_not_match (line 74) | def test_not_match(command): function test_get_new_command (line 79) | def test_get_new_command(output): FILE: tests/rules/test_apt_upgrade.py function test_match (line 18) | def test_match(): function test_not_match (line 27) | def test_not_match(command): function test_get_new_command (line 31) | def test_get_new_command(): FILE: tests/rules/test_aws_cli.py function test_match (line 84) | def test_match(command): function test_not_match (line 88) | def test_not_match(): function test_get_new_command (line 100) | def test_get_new_command(command, result): FILE: tests/rules/test_az_cli.py function test_match (line 31) | def test_match(command): function test_not_match (line 35) | def test_not_match(): function test_get_new_command (line 43) | def test_get_new_command(command, result): FILE: tests/rules/test_brew_cask_dependency.py function test_match (line 16) | def test_match(): function test_not_match (line 25) | def test_not_match(script, output): function test_get_new_command (line 33) | def test_get_new_command(before, after): FILE: tests/rules/test_brew_install.py function brew_no_available_formula_one (line 7) | def brew_no_available_formula_one(): function brew_no_available_formula_two (line 12) | def brew_no_available_formula_two(): function brew_no_available_formula_three (line 17) | def brew_no_available_formula_three(): function brew_install_no_argument (line 22) | def brew_install_no_argument(): function brew_already_installed (line 27) | def brew_already_installed(): function test_suggestions (line 31) | def test_suggestions(): function test_match (line 37) | def test_match(brew_no_available_formula_one, brew_no_available_formula_... function test_get_new_command (line 51) | def test_get_new_command(brew_no_available_formula_one, brew_no_availabl... FILE: tests/rules/test_brew_link.py function output (line 7) | def output(): function new_command (line 21) | def new_command(formula): function test_match (line 26) | def test_match(output, script): function test_not_match (line 31) | def test_not_match(script): function test_get_new_command (line 36) | def test_get_new_command(output, new_command, script, formula): FILE: tests/rules/test_brew_reinstall.py function test_match (line 10) | def test_match(): function test_not_match (line 18) | def test_not_match(script): function test_get_new_command (line 25) | def test_get_new_command(script, formula): FILE: tests/rules/test_brew_uninstall.py function output (line 7) | def output(): function new_command (line 14) | def new_command(formula): function test_match (line 19) | def test_match(output, script): function test_not_match (line 24) | def test_not_match(script): function test_get_new_command (line 30) | def test_get_new_command(output, new_command, script, formula): FILE: tests/rules/test_brew_unknown_command.py function brew_unknown_cmd (line 8) | def brew_unknown_cmd(): function brew_unknown_cmd2 (line 13) | def brew_unknown_cmd2(): function test_match (line 17) | def test_match(brew_unknown_cmd): function test_get_new_command (line 23) | def test_get_new_command(brew_unknown_cmd, brew_unknown_cmd2): FILE: tests/rules/test_brew_update_formula.py function test_match (line 10) | def test_match(): function test_not_match (line 18) | def test_not_match(script): function test_get_new_command (line 25) | def test_get_new_command(script, formula): FILE: tests/rules/test_cargo_no_command.py function test_match (line 20) | def test_match(command): function test_get_new_command (line 27) | def test_get_new_command(command, new_command): FILE: tests/rules/test_cat_dir.py function isdir (line 7) | def isdir(mocker): function test_match (line 17) | def test_match(command, isdir): function test_not_match (line 27) | def test_not_match(command, isdir): function test_get_new_command (line 37) | def test_get_new_command(command, new_command): FILE: tests/rules/test_cd_correction.py function test_match (line 12) | def test_match(command): function test_not_match (line 18) | def test_not_match(command): FILE: tests/rules/test_cd_cs.py function test_match (line 5) | def test_match(): function test_get_new_command (line 10) | def test_get_new_command(): FILE: tests/rules/test_cd_mkdir.py function test_match (line 12) | def test_match(command): function test_not_match (line 18) | def test_not_match(command): function test_get_new_command (line 25) | def test_get_new_command(command, new_command): FILE: tests/rules/test_cd_parent.py function test_match (line 5) | def test_match(): function test_get_new_command (line 10) | def test_get_new_command(): FILE: tests/rules/test_chmod_x.py function file_exists (line 7) | def file_exists(mocker): function file_access (line 12) | def file_access(mocker): function test_match (line 20) | def test_match(script, output): function test_not_match (line 29) | def test_not_match(file_exists, file_access, script, output, exists, cal... function test_get_new_command (line 38) | def test_get_new_command(script, result): FILE: tests/rules/test_choco_install.py function test_match (line 44) | def test_match(command): function not_test_match (line 70) | def not_test_match(command): function test_get_new_command (line 85) | def test_get_new_command(before, after): FILE: tests/rules/test_composer_not_command.py function composer_not_command (line 7) | def composer_not_command(): function composer_not_command_one_of_this (line 24) | def composer_not_command_one_of_this(): function composer_require_instead_of_install (line 43) | def composer_require_instead_of_install(): function test_match (line 47) | def test_match(composer_not_command, composer_not_command_one_of_this, c... function test_get_new_command (line 57) | def test_get_new_command(composer_not_command, composer_not_command_one_... FILE: tests/rules/test_conda_mistype.py function mistype_response (line 8) | def mistype_response(): function test_match (line 17) | def test_match(mistype_response): function test_get_new_command (line 23) | def test_get_new_command(mistype_response): FILE: tests/rules/test_cp_create_destination.py function test_match (line 10) | def test_match(script, output): function test_not_match (line 17) | def test_not_match(script, output): function test_get_new_command (line 29) | def test_get_new_command(script, output, new_command): FILE: tests/rules/test_cp_omitting_directory.py function test_match (line 9) | def test_match(script, output): function test_not_match (line 17) | def test_not_match(script, output): function test_get_new_command (line 21) | def test_get_new_command(): FILE: tests/rules/test_dirty_untar.py function tar_error (line 10) | def tar_error(tmpdir): function test_match (line 53) | def test_match(ext, tar_error, filename, unquoted, quoted, script, fixed): function test_side_effect (line 61) | def test_side_effect(ext, tar_error, filename, unquoted, quoted, script,... function test_get_new_command (line 70) | def test_get_new_command(ext, tar_error, filename, unquoted, quoted, scr... FILE: tests/rules/test_dirty_unzip.py function zip_error (line 12) | def zip_error(tmpdir): function test_match (line 43) | def test_match(zip_error, script, filename): function test_side_effect (line 53) | def test_side_effect(zip_error, script, filename): function test_get_new_command (line 69) | def test_get_new_command(zip_error, script, fixed, filename): FILE: tests/rules/test_django_south_ghost.py function output (line 7) | def output(): function test_match (line 43) | def test_match(output): function test_get_new_command (line 51) | def test_get_new_command(): FILE: tests/rules/test_django_south_merge.py function output (line 7) | def output(): function test_match (line 33) | def test_match(output): function test_get_new_command (line 41) | def test_get_new_command(): FILE: tests/rules/test_dnf_no_such_command.py function invalid_command (line 145) | def invalid_command(command): function test_match (line 155) | def test_match(output): function test_not_match (line 163) | def test_not_match(script, output): function set_help (line 168) | def set_help(mocker): function test_get_operations (line 177) | def test_get_operations(set_help): function test_get_new_command (line 188) | def test_get_new_command(set_help, output, script, result): FILE: tests/rules/test_docker_image_being_used_by_container.py function test_match (line 5) | def test_match(): function test_not_match (line 10) | def test_not_match(): function test_not_docker_command (line 15) | def test_not_docker_command(): function test_get_new_command (line 20) | def test_get_new_command(): FILE: tests/rules/test_docker_login.py function test_match (line 5) | def test_match(): function test_get_new_command (line 35) | def test_get_new_command(): FILE: tests/rules/test_docker_not_command.py function docker_help (line 48) | def docker_help(mocker): function docker_help_new (line 148) | def docker_help_new(mocker): function output (line 235) | def output(cmd): function test_match (line 240) | def test_match(): function test_match_management_cmd (line 249) | def test_match_management_cmd(script, output): function test_match_management_subcmd (line 258) | def test_match_management_subcmd(script, output): function test_not_match (line 265) | def test_not_match(script, output): function test_get_new_command (line 273) | def test_get_new_command(wrong, fixed): function test_get_new_management_command (line 282) | def test_get_new_management_command(wrong, fixed): function test_get_new_management_command_subcommand (line 291) | def test_get_new_management_command_subcommand(wrong, fixed, output): FILE: tests/rules/test_dry.py function test_match (line 9) | def test_match(command): function test_get_new_command (line 16) | def test_get_new_command(command, new_command): FILE: tests/rules/test_fab_command_not_found.py function test_match (line 26) | def test_match(command): function test_not_match (line 33) | def test_not_match(command): function test_get_new_command (line 46) | def test_get_new_command(script, result): FILE: tests/rules/test_fix_alt_space.py function test_match (line 7) | def test_match(): function test_get_new_command (line 19) | def test_get_new_command(): FILE: tests/rules/test_fix_file.py function test_match (line 177) | def test_match(mocker, monkeypatch, test): function test_no_editor (line 185) | def test_no_editor(mocker, monkeypatch, test): function test_not_file (line 195) | def test_not_file(mocker, monkeypatch, test): function test_get_new_command (line 204) | def test_get_new_command(mocker, monkeypatch, test): function test_get_new_command_with_settings (line 211) | def test_get_new_command_with_settings(mocker, monkeypatch, test, settin... FILE: tests/rules/test_gem_unknown_command.py function gem_help_commands (line 57) | def gem_help_commands(mocker): function test_match (line 66) | def test_match(script, command): function test_not_match (line 73) | def test_not_match(script, output): function test_get_new_command (line 80) | def test_get_new_command(script, output, result): FILE: tests/rules/test_git_add.py function path_exists (line 7) | def path_exists(mocker): function output (line 13) | def output(target): function test_match (line 21) | def test_match(output, script, target): function test_not_match (line 29) | def test_not_match(path_exists, output, script, target, exists): function test_get_new_command (line 39) | def test_get_new_command(output, script, target, new_command): FILE: tests/rules/test_git_add_force.py function output (line 7) | def output(): function test_match (line 15) | def test_match(output): function test_get_new_command (line 20) | def test_get_new_command(output): FILE: tests/rules/test_git_bisect_usage.py function output (line 7) | def output(): function test_match (line 14) | def test_match(output, script): function test_not_match (line 20) | def test_not_match(script): function test_get_new_command (line 28) | def test_get_new_command(output, script, new_cmd): FILE: tests/rules/test_git_branch_0flag.py function output_branch_exists (line 8) | def output_branch_exists(): function test_match (line 24) | def test_match(script, output_branch_exists): function test_not_match (line 38) | def test_not_match(script, output_branch_exists): function test_get_new_command_branch_exists (line 53) | def test_get_new_command_branch_exists(script, output_branch_exists, new... function output_not_valid_object (line 58) | def output_not_valid_object(): function test_get_new_command_not_valid_object (line 69) | def test_get_new_command_not_valid_object(script, output_not_valid_objec... FILE: tests/rules/test_git_branch_delete.py function output (line 7) | def output(): function test_match (line 14) | def test_match(output): function test_get_new_command (line 20) | def test_get_new_command(output): FILE: tests/rules/test_git_branch_delete_checked_out.py function output (line 7) | def output(): function test_match (line 12) | def test_match(script, output): function test_not_match (line 17) | def test_not_match(script): function test_get_new_command (line 28) | def test_get_new_command(script, new_command, output): FILE: tests/rules/test_git_branch_exists.py function output (line 7) | def output(src_branch_name): function new_command (line 12) | def new_command(branch_name): function test_match (line 24) | def test_match(output, script, branch_name): function test_not_match (line 32) | def test_not_match(script): function test_get_new_command (line 40) | def test_get_new_command(output, new_command, script, src_branch_name, b... FILE: tests/rules/test_git_branch_list.py function test_match (line 6) | def test_match(): function test_not_match (line 10) | def test_not_match(): function test_get_new_command (line 17) | def test_get_new_command(): FILE: tests/rules/test_git_checkout.py function did_not_match (line 7) | def did_not_match(target, did_you_forget=False): function git_branch (line 16) | def git_branch(mocker, branches): function test_match (line 25) | def test_match(command): function test_not_match (line 34) | def test_not_match(command): function test_get_branches (line 51) | def test_get_branches(branches, branch_list, git_branch): function test_get_new_command (line 71) | def test_get_new_command(branches, command, new_command, git_branch): FILE: tests/rules/test_git_clone_git_clone.py function test_match (line 12) | def test_match(): function test_not_match (line 16) | def test_not_match(): function test_get_new_command (line 23) | def test_get_new_command(): FILE: tests/rules/test_git_clone_missing.py function test_match (line 33) | def test_match(cmd, output): function test_not_match (line 40) | def test_not_match(cmd, output): function test_get_new_command (line 47) | def test_get_new_command(script, output): FILE: tests/rules/test_git_commit_add.py function test_match (line 13) | def test_match(output, script): function test_not_match (line 26) | def test_not_match(output, script): function test_get_new_command (line 37) | def test_get_new_command(script, new_command): FILE: tests/rules/test_git_commit_amend.py function test_match (line 9) | def test_match(output, script): function test_not_match (line 17) | def test_not_match(script): function test_get_new_command (line 24) | def test_get_new_command(script): FILE: tests/rules/test_git_commit_reset.py function test_match (line 9) | def test_match(output, script): function test_not_match (line 17) | def test_not_match(script): function test_get_new_command (line 24) | def test_get_new_command(script): FILE: tests/rules/test_git_diff_no_index.py function test_match (line 8) | def test_match(command): function test_not_match (line 16) | def test_not_match(command): function test_get_new_command (line 22) | def test_get_new_command(command, new_command): FILE: tests/rules/test_git_diff_staged.py function test_match (line 9) | def test_match(command): function test_not_match (line 18) | def test_not_match(command): function test_get_new_command (line 25) | def test_get_new_command(command, new_command): FILE: tests/rules/test_git_fix_stash.py function test_match (line 22) | def test_match(wrong): function test_not_match (line 26) | def test_not_match(): function test_get_new_command (line 34) | def test_get_new_command(wrong, fixed): FILE: tests/rules/test_git_flag_after_filename.py function test_match (line 21) | def test_match(command): function test_not_match (line 28) | def test_not_match(command): function test_get_new_command (line 39) | def test_get_new_command(command, result): FILE: tests/rules/test_git_help_aliased.py function test_match (line 9) | def test_match(script, output): function test_not_match (line 16) | def test_not_match(script, output): function test_get_new_command (line 23) | def test_get_new_command(script, output, new_command): FILE: tests/rules/test_git_hook_bypass.py function test_match (line 16) | def test_match(command): function test_not_match (line 28) | def test_not_match(command): function test_get_new_command (line 42) | def test_get_new_command(command, new_command): FILE: tests/rules/test_git_lfs_mistype.py function mistype_response (line 8) | def mistype_response(): function test_match (line 20) | def test_match(mistype_response): function test_get_new_command (line 27) | def test_get_new_command(mistype_response): FILE: tests/rules/test_git_main_master.py function output (line 7) | def output(branch_name): function test_match (line 22) | def test_match(script, branch_name, output): function test_not_match (line 34) | def test_not_match(script, branch_name, output): function test_get_new_command (line 46) | def test_get_new_command(script, branch_name, new_command, output): FILE: tests/rules/test_git_merge.py function test_match (line 10) | def test_match(): function test_get_new_command (line 23) | def test_get_new_command(command, new_command): FILE: tests/rules/test_git_merge_unrelated.py function test_match (line 9) | def test_match(): function test_get_new_command (line 22) | def test_get_new_command(command, new_command): FILE: tests/rules/test_git_not_command.py function git_not_command (line 7) | def git_not_command(): function git_not_command_one_of_this (line 16) | def git_not_command_one_of_this(): function git_not_command_closest (line 29) | def git_not_command_closest(): function git_command (line 39) | def git_command(): function test_match (line 43) | def test_match(git_not_command, git_command, git_not_command_one_of_this): function test_get_new_command (line 50) | def test_get_new_command(git_not_command, git_not_command_one_of_this, FILE: tests/rules/test_git_pull.py function output (line 7) | def output(): function test_match (line 21) | def test_match(output): function test_get_new_command (line 27) | def test_get_new_command(output): FILE: tests/rules/test_git_pull_clone.py function test_match (line 14) | def test_match(command): function test_get_new_command (line 20) | def test_get_new_command(command, output): FILE: tests/rules/test_git_pull_uncommitted_changes.py function output (line 7) | def output(): function test_match (line 11) | def test_match(output): function test_get_new_command (line 17) | def test_get_new_command(output): FILE: tests/rules/test_git_pull_unstaged_changes.py function output (line 7) | def output(): function test_match (line 11) | def test_match(output): function test_get_new_command (line 17) | def test_get_new_command(output): FILE: tests/rules/test_git_push.py function output (line 7) | def output(branch_name): function output_bitbucket (line 19) | def output_bitbucket(): function test_match (line 34) | def test_match(output, script, branch_name): function test_match_bitbucket (line 38) | def test_match_bitbucket(output_bitbucket): function test_not_match (line 45) | def test_not_match(output, script, branch_name): function test_get_new_command (line 74) | def test_get_new_command(output, script, branch_name, new_command): FILE: tests/rules/test_git_push_different_branch_names.py function error_msg (line 20) | def error_msg(localbranch, remotebranch): function test_match (line 24) | def test_match(): function test_not_match (line 33) | def test_not_match(command): function test_get_new_command (line 37) | def test_get_new_command(): FILE: tests/rules/test_git_push_force.py function test_match (line 32) | def test_match(command): function test_not_match (line 43) | def test_not_match(command): function test_get_new_command (line 51) | def test_get_new_command(command, output): FILE: tests/rules/test_git_push_pull.py function test_match (line 46) | def test_match(command): function test_not_match (line 57) | def test_not_match(command): function test_get_new_command (line 72) | def test_get_new_command(command, output): FILE: tests/rules/test_git_push_without_commits.py function test_match (line 5) | def test_match(): function test_not_match (line 11) | def test_not_match(): function test_get_new_command (line 16) | def test_get_new_command(): FILE: tests/rules/test_git_rebase_merge_dir.py function output (line 7) | def output(): function test_match (line 22) | def test_match(output, script): function test_not_match (line 27) | def test_not_match(script): function test_get_new_command (line 41) | def test_get_new_command(output, script, result): FILE: tests/rules/test_git_rebase_no_changes.py function output (line 7) | def output(): function test_match (line 20) | def test_match(output): function test_get_new_command (line 26) | def test_get_new_command(output): FILE: tests/rules/test_git_remote_delete.py function test_match (line 6) | def test_match(): function test_not_match (line 15) | def test_not_match(command): function test_get_new_command (line 23) | def test_get_new_command(command, new_command): FILE: tests/rules/test_git_remote_seturl_add.py function test_match (line 8) | def test_match(command): function test_not_match (line 18) | def test_not_match(command): function test_get_new_command (line 25) | def test_get_new_command(command, new_command): FILE: tests/rules/test_git_rm_local_modifications.py function output (line 7) | def output(target): function test_match (line 15) | def test_match(output, script, target): function test_not_match (line 20) | def test_not_match(script): function test_get_new_command (line 27) | def test_get_new_command(output, script, target, new_command): FILE: tests/rules/test_git_rm_recursive.py function output (line 7) | def output(target): function test_match (line 14) | def test_match(output, script, target): function test_not_match (line 19) | def test_not_match(script): function test_get_new_command (line 26) | def test_get_new_command(output, script, target, new_command): FILE: tests/rules/test_git_rm_staged.py function output (line 7) | def output(target): function test_match (line 15) | def test_match(output, script, target): function test_not_match (line 20) | def test_not_match(script): function test_get_new_command (line 27) | def test_get_new_command(output, script, target, new_command): FILE: tests/rules/test_git_stash.py function test_match (line 20) | def test_match(command): function test_not_match (line 27) | def test_not_match(command): function test_get_new_command (line 36) | def test_get_new_command(command, new_command): FILE: tests/rules/test_git_stash_pop.py function output (line 7) | def output(): function test_match (line 11) | def test_match(output): function test_get_new_command (line 16) | def test_get_new_command(output): FILE: tests/rules/test_git_tag_force.py function output (line 7) | def output(): function test_match (line 11) | def test_match(output): function test_get_new_command (line 16) | def test_get_new_command(output): FILE: tests/rules/test_git_two_dashes.py function test_match (line 15) | def test_match(command): function test_not_match (line 25) | def test_not_match(command): function test_get_new_command (line 44) | def test_get_new_command(command, output): FILE: tests/rules/test_go_run.py function test_match (line 9) | def test_match(command): function test_get_new_command (line 16) | def test_get_new_command(command, new_command): FILE: tests/rules/test_go_unknown_command.py function build_misspelled_output (line 8) | def build_misspelled_output(): function go_stderr (line 14) | def go_stderr(mocker): function test_match (line 72) | def test_match(build_misspelled_output): function test_not_match (line 76) | def test_not_match(): function test_get_new_command (line 81) | def test_get_new_command(build_misspelled_output): FILE: tests/rules/test_gradle_not_task.py function tasks (line 124) | def tasks(mocker): function test_match (line 135) | def test_match(command): function test_not_match (line 144) | def test_not_match(command): function test_get_new_command (line 157) | def test_get_new_command(command, result): FILE: tests/rules/test_gradle_wrapper.py function exists (line 7) | def exists(mocker): function test_match (line 15) | def test_match(mocker, command): function test_not_match (line 25) | def test_not_match(mocker, exists, command, gradlew, which): function test_get_new_command (line 36) | def test_get_new_command(script, result): FILE: tests/rules/test_grep_arguments_order.py function os_path (line 9) | def os_path(monkeypatch): function test_match (line 18) | def test_match(script, file): function test_not_match (line 28) | def test_not_match(script, output): function test_get_new_command (line 39) | def test_get_new_command(script, output, result): FILE: tests/rules/test_grep_recursive.py function test_match (line 7) | def test_match(): function test_get_new_command (line 13) | def test_get_new_command(): FILE: tests/rules/test_grunt_task_not_found.py function grunt_help (line 103) | def grunt_help(mocker): function test_match (line 112) | def test_match(command): function test_not_match (line 119) | def test_not_match(command): function test_get_new_command (line 128) | def test_get_new_command(command, result): FILE: tests/rules/test_gulp_not_task.py function output (line 7) | def output(task): function test_match (line 14) | def test_match(): function test_not_march (line 21) | def test_not_march(script, stdout): function test_get_new_command (line 25) | def test_get_new_command(mocker): FILE: tests/rules/test_has_exists_script.py function test_match (line 6) | def test_match(): function test_get_new_command (line 17) | def test_get_new_command(): FILE: tests/rules/test_heroku_multiple_apps.py function test_match (line 40) | def test_match(cmd): function test_not_match (line 47) | def test_not_match(script, output): function test_get_new_command (line 53) | def test_get_new_command(cmd, result): FILE: tests/rules/test_heroku_not_command.py function test_match (line 16) | def test_match(cmd): function test_not_match (line 23) | def test_not_match(script, output): function test_get_new_command (line 29) | def test_get_new_command(cmd, result): FILE: tests/rules/test_history.py function history_without_current (line 7) | def history_without_current(mocker): function test_match (line 14) | def test_match(script): function test_not_match (line 19) | def test_not_match(script): function test_get_new_command (line 26) | def test_get_new_command(script, result): FILE: tests/rules/test_hostscli.py function test_match (line 19) | def test_match(command): function test_get_new_command (line 26) | def test_get_new_command(command, result): FILE: tests/rules/test_ifconfig_device_not_found.py function ifconfig (line 22) | def ifconfig(mocker): function test_match (line 33) | def test_match(script, output): function test_not_match (line 42) | def test_not_match(script, output): function test_get_new_comman (line 50) | def test_get_new_comman(script, result): FILE: tests/rules/test_java.py function test_match (line 9) | def test_match(command): function test_get_new_command (line 16) | def test_get_new_command(command, new_command): FILE: tests/rules/test_javac.py function test_match (line 9) | def test_match(command): function test_get_new_command (line 16) | def test_get_new_command(command, new_command): FILE: tests/rules/test_lein_not_task.py function is_not_task (line 7) | def is_not_task(): function test_match (line 16) | def test_match(is_not_task): function test_get_new_command (line 21) | def test_get_new_command(is_not_task): FILE: tests/rules/test_ln_no_hard_link.py function test_match (line 13) | def test_match(script, output): function test_not_match (line 23) | def test_not_match(script, output): function test_get_new_command (line 35) | def test_get_new_command(script, result): FILE: tests/rules/test_ln_s_order.py function file_exists (line 7) | def file_exists(mocker): function test_not_match (line 19) | def test_not_match(file_exists, script, output, exists): function test_match (line 29) | def test_match(script, result): FILE: tests/rules/test_long_form_help.py function test_match (line 8) | def test_match(output): function test_not_match (line 12) | def test_not_match(): function test_get_new_command (line 21) | def test_get_new_command(before, after): FILE: tests/rules/test_ls_all.py function test_match (line 5) | def test_match(): function test_get_new_command (line 10) | def test_get_new_command(): FILE: tests/rules/test_ls_lah.py function test_match (line 5) | def test_match(): function test_get_new_command (line 14) | def test_get_new_command(): FILE: tests/rules/test_man.py function test_match (line 14) | def test_match(command): function test_not_match (line 21) | def test_not_match(command): function test_get_new_command (line 34) | def test_get_new_command(command, new_command): FILE: tests/rules/test_man_no_space.py function test_match (line 5) | def test_match(): function test_get_new_command (line 10) | def test_get_new_command(): FILE: tests/rules/test_mercurial.py function test_match (line 39) | def test_match(command): function test_not_match (line 65) | def test_not_match(command): function test_extract_possibilities (line 99) | def test_extract_possibilities(command, possibilities): function test_get_new_command (line 133) | def test_get_new_command(command, new_command): FILE: tests/rules/test_missing_space_before_subcommand.py function all_executables (line 8) | def all_executables(mocker): function test_match (line 16) | def test_match(script): function test_not_match (line 21) | def test_not_match(script): function test_get_new_command (line 30) | def test_get_new_command(script, result): FILE: tests/rules/test_mkdir_p.py function test_match (line 11) | def test_match(command): function test_not_match (line 22) | def test_not_match(command): function test_get_new_command (line 31) | def test_get_new_command(command, new_command): FILE: tests/rules/test_mvn_no_command.py function test_match (line 8) | def test_match(command): function test_not_match (line 32) | def test_not_match(command): function test_get_new_command (line 39) | def test_get_new_command(command, new_command): FILE: tests/rules/test_mvn_unknown_lifecycle_phase.py function test_match (line 8) | def test_match(command): function test_not_match (line 32) | def test_not_match(command): function test_get_new_command (line 39) | def test_get_new_command(command, new_command): FILE: tests/rules/test_nixos_cmd_not_found.py function test_match (line 8) | def test_match(mocker, command): function test_not_match (line 16) | def test_not_match(mocker, command): function test_get_new_command (line 24) | def test_get_new_command(mocker, command, new_command): FILE: tests/rules/test_no_command.py function get_all_executables (line 7) | def get_all_executables(mocker): function history_without_current (line 13) | def history_without_current(mocker): function test_match (line 26) | def test_match(mocker, script, output): function test_not_match (line 37) | def test_not_match(mocker, script, output, which): function test_get_new_command (line 49) | def test_get_new_command(script, result): FILE: tests/rules/test_no_such_file.py function test_match (line 10) | def test_match(command): function test_not_match (line 18) | def test_not_match(command): function test_get_new_command (line 26) | def test_get_new_command(command, new_command): FILE: tests/rules/test_npm_missing_script.py function run_script (line 38) | def run_script(mocker): function test_match (line 48) | def test_match(command): function test_not_match (line 56) | def test_not_match(command): function test_get_new_command (line 66) | def test_get_new_command(script, output, result): FILE: tests/rules/test_npm_run_script.py function run_script (line 51) | def run_script(mocker): function test_match (line 60) | def test_match(script): function test_not_match (line 71) | def test_not_match(run_script, command, run_script_out): function test_get_new_command (line 82) | def test_get_new_command(script, result): FILE: tests/rules/test_npm_wrong_command.py function test_match (line 40) | def test_match(script): function test_not_match (line 49) | def test_not_match(script, output): function test_get_new_command (line 57) | def test_get_new_command(script, result): FILE: tests/rules/test_omnienv_no_such_command.py function output (line 8) | def output(pyenv_cmd): function Popen (line 13) | def Popen(mocker): function test_match (line 32) | def test_match(script, pyenv_cmd, output): function test_match_goenv_output_quote (line 36) | def test_match_goenv_output_quote(): function test_not_match (line 46) | def test_not_match(script, output): function test_get_new_command (line 56) | def test_get_new_command(script, pyenv_cmd, output, result): FILE: tests/rules/test_open.py function output (line 7) | def output(script): function test_is_arg_url (line 22) | def test_is_arg_url(script): function test_not_is_arg_url (line 27) | def test_not_is_arg_url(script): function test_match (line 37) | def test_match(script, output): function test_get_new_command (line 48) | def test_get_new_command(script, new_command, output): FILE: tests/rules/test_pacman.py function test_match (line 25) | def test_match(command): function test_match_mocked (line 34) | def test_match_mocked(subp_mock, command, return_value): function test_not_match (line 42) | def test_not_match(command): function test_get_new_command (line 68) | def test_get_new_command(command, new_command, mocker): function test_get_new_command_mocked (line 80) | def test_get_new_command_mocked(subp_mock, command, new_command, return_... FILE: tests/rules/test_pacman_invalid_option.py function test_not_match_good_output (line 13) | def test_not_match_good_output(option): function test_not_match_bad_output (line 18) | def test_not_match_bad_output(option): function test_match (line 23) | def test_match(option): function test_get_new_command (line 28) | def test_get_new_command(option): FILE: tests/rules/test_pacman_not_found.py function test_match (line 19) | def test_match(command): function test_match_mocked (line 30) | def test_match_mocked(subp_mock, command): function test_get_new_command (line 43) | def test_get_new_command(command, fixed): function test_get_new_command_mocked (line 54) | def test_get_new_command_mocked(subp_mock, command, fixed): FILE: tests/rules/test_path_from_history.py function history (line 7) | def history(mocker): function path_exists (line 14) | def path_exists(mocker): function test_match (line 25) | def test_match(script, output): function test_not_match (line 33) | def test_not_match(script, output): function test_get_new_command (line 41) | def test_get_new_command(script, output, result): FILE: tests/rules/test_php_s.py function test_match (line 10) | def test_match(command): function test_not_match (line 18) | def test_not_match(command): function test_get_new_command (line 26) | def test_get_new_command(command, new_command): FILE: tests/rules/test_pip_install.py function test_match (line 6) | def test_match(): function test_get_new_command (line 24) | def test_get_new_command(): FILE: tests/rules/test_pip_unknown_command.py function pip_unknown_cmd_without_recommend (line 7) | def pip_unknown_cmd_without_recommend(): function broken (line 12) | def broken(): function suggested (line 17) | def suggested(): function pip_unknown_cmd (line 22) | def pip_unknown_cmd(broken, suggested): function test_match (line 26) | def test_match(pip_unknown_cmd, pip_unknown_cmd_without_recommend): function test_get_new_command (line 35) | def test_get_new_command(script, new_cmd, pip_unknown_cmd): FILE: tests/rules/test_port_already_in_use.py function lsof (line 70) | def lsof(mocker): function test_match (line 81) | def test_match(command): function test_not_match (line 90) | def test_not_match(lsof, command, lsof_output): function test_get_new_command (line 100) | def test_get_new_command(command): FILE: tests/rules/test_prove_recursively.py function isdir (line 11) | def isdir(mocker): function test_match (line 19) | def test_match(isdir, script, output): function test_not_match (line 29) | def test_not_match(isdir, script, output, isdir_result): function test_get_new_command (line 38) | def test_get_new_command(before, after): FILE: tests/rules/test_python_command.py function test_match (line 5) | def test_match(): function test_get_new_command (line 10) | def test_get_new_command(): FILE: tests/rules/test_python_execute.py function test_match (line 9) | def test_match(command): function test_get_new_command (line 16) | def test_get_new_command(command, new_command): FILE: tests/rules/test_python_module_error.py function module_error_output (line 8) | def module_error_output(filename, module_name): function test_not_match (line 30) | def test_not_match(test): function test_match (line 53) | def test_match(script, filename, module_name, corrected_script, module_e... function test_get_new_command (line 60) | def test_get_new_command( FILE: tests/rules/test_quotation_marks.py function test_match (line 10) | def test_match(command): function test_get_new_command (line 18) | def test_get_new_command(command, new_command): FILE: tests/rules/test_rails_migrations_pending.py function test_match (line 24) | def test_match(command): function test_not_match (line 34) | def test_not_match(command): function test_get_new_command (line 45) | def test_get_new_command(command, new_command): FILE: tests/rules/test_react_native_command_unrecognized.py function test_match (line 43) | def test_match(command): function test_not_match (line 50) | def test_not_match(command): function test_get_new_command (line 59) | def test_get_new_command(mocker, command, result): FILE: tests/rules/test_remove_shell_prompt_literal.py function output (line 7) | def output(): function test_match (line 20) | def test_match(script, output): function test_not_match (line 34) | def test_not_match(command): function test_get_new_command (line 47) | def test_get_new_command(script, new_command, output): FILE: tests/rules/test_remove_trailing_cedilla.py function test_match (line 9) | def test_match(command): function test_get_new_command (line 16) | def test_get_new_command(command, new_command): FILE: tests/rules/test_rm_dir.py function test_match (line 12) | def test_match(command): function test_not_match (line 22) | def test_not_match(command): function test_get_new_command (line 30) | def test_get_new_command(command, new_command): FILE: tests/rules/test_rm_root.py function test_match (line 6) | def test_match(): function test_not_match (line 14) | def test_not_match(command): function test_get_new_command (line 18) | def test_get_new_command(): FILE: tests/rules/test_scm_correction.py function get_actual_scm_mock (line 7) | def get_actual_scm_mock(mocker): function test_match (line 19) | def test_match(get_actual_scm_mock, script, output, actual_scm): function test_not_match (line 35) | def test_not_match(get_actual_scm_mock, script, output, actual_scm): function test_get_new_command (line 43) | def test_get_new_command(get_actual_scm_mock, script, actual_scm, result): FILE: tests/rules/test_sed_unterminated_s.py function sed_unterminated_s (line 7) | def sed_unterminated_s(): function test_match (line 11) | def test_match(sed_unterminated_s): function test_get_new_command (line 20) | def test_get_new_command(sed_unterminated_s): FILE: tests/rules/test_sl_ls.py function test_match (line 6) | def test_match(): function test_get_new_command (line 11) | def test_get_new_command(): FILE: tests/rules/test_ssh_known_host.py function ssh_error (line 9) | def ssh_error(tmpdir): function test_match (line 44) | def test_match(ssh_error): function test_side_effect (line 56) | def test_side_effect(ssh_error): function test_get_new_command (line 64) | def test_get_new_command(ssh_error, monkeypatch): FILE: tests/rules/test_sudo.py function test_match (line 19) | def test_match(output): function test_not_match (line 23) | def test_not_match(): function test_get_new_command (line 33) | def test_get_new_command(before, after): FILE: tests/rules/test_sudo_command_from_user_path.py function which (line 10) | def which(mocker): function test_match (line 18) | def test_match(script, output): function test_not_match (line 26) | def test_not_match(which, script, output, which_result): function test_get_new_command (line 38) | def test_get_new_command(script, output, result): FILE: tests/rules/test_switch_lang.py function test_match (line 15) | def test_match(command): function test_not_match (line 26) | def test_not_match(command): function test_get_new_command (line 38) | def test_get_new_command(command, new_command): FILE: tests/rules/test_systemctl.py function test_match (line 5) | def test_match(): function test_get_new_command (line 15) | def test_get_new_command(): FILE: tests/rules/test_terraform_init.py function test_match (line 15) | def test_match(script, output): function test_not_match (line 24) | def test_not_match(script, output): function test_get_new_command (line 32) | def test_get_new_command(command, new_command): FILE: tests/rules/test_terraform_no_command.py function test_match (line 9) | def test_match(script, output): function test_not_match (line 18) | def test_not_match(script, output): function test_get_new_command (line 26) | def test_get_new_command(script, output, new_command): FILE: tests/rules/test_tmux.py function tmux_ambiguous (line 7) | def tmux_ambiguous(): function test_match (line 13) | def test_match(tmux_ambiguous): function test_get_new_command (line 17) | def test_get_new_command(tmux_ambiguous): FILE: tests/rules/test_touch.py function output (line 6) | def output(is_bsd): function test_match (line 15) | def test_match(script, is_bsd): function test_not_match (line 23) | def test_not_match(command): function test_get_new_command (line 30) | def test_get_new_command(script, is_bsd): FILE: tests/rules/test_tsuru_login.py function test_match (line 17) | def test_match(command): function test_not_match (line 26) | def test_not_match(command): function test_get_new_command (line 36) | def test_get_new_command(command, new_command): FILE: tests/rules/test_tsuru_not_command.py function test_match (line 32) | def test_match(command): function test_not_match (line 60) | def test_not_match(command): function test_get_new_command (line 89) | def test_get_new_command(command, new_commands): FILE: tests/rules/test_unknown_command.py function test_match (line 11) | def test_match(command): function test_not_match (line 20) | def test_not_match(command): function test_get_new_command (line 33) | def test_get_new_command(command, new_command): FILE: tests/rules/test_unsudo.py function test_match (line 8) | def test_match(output): function test_not_match (line 12) | def test_not_match(): function test_get_new_command (line 21) | def test_get_new_command(before, after): FILE: tests/rules/test_vagrant_up.py function test_match (line 13) | def test_match(command): function test_not_match (line 22) | def test_not_match(command): function test_get_new_command (line 33) | def test_get_new_command(command, new_command): FILE: tests/rules/test_whois.py function test_match (line 10) | def test_match(command): function test_not_match (line 14) | def test_not_match(): function test_get_new_command (line 28) | def test_get_new_command(command, new_command): FILE: tests/rules/test_workon_doesnt_exists.py function envs (line 7) | def envs(mocker): function test_match (line 15) | def test_match(script): function test_not_match (line 21) | def test_not_match(script): function test_get_new_command (line 29) | def test_get_new_command(script, result): FILE: tests/rules/test_wrong_hyphen_before_subcommand.py function get_all_executables (line 8) | def get_all_executables(mocker): function test_match (line 16) | def test_match(script): function test_not_match (line 21) | def test_not_match(script): function test_get_new_command (line 29) | def test_get_new_command(script, new_command): FILE: tests/rules/test_yarn_alias.py function test_match (line 15) | def test_match(command): function test_get_new_command (line 23) | def test_get_new_command(command, new_command): FILE: tests/rules/test_yarn_command_not_found.py function yarn_help (line 89) | def yarn_help(mocker): function test_match (line 97) | def test_match(command): function test_not_match (line 104) | def test_not_match(command): function test_get_new_command (line 113) | def test_get_new_command(command, result): FILE: tests/rules/test_yarn_command_replaced.py function test_match (line 14) | def test_match(command): function test_not_match (line 20) | def test_not_match(command): function test_get_new_command (line 31) | def test_get_new_command(command, new_command): FILE: tests/rules/test_yarn_help.py function test_match (line 49) | def test_match(command): function test_get_new_command (line 56) | def test_get_new_command(command, url): FILE: tests/rules/test_yum_invalid_operation.py function test_match (line 139) | def test_match(command): function test_not_match (line 150) | def test_not_match(command, output): function yum_help (line 155) | def yum_help(mocker): function test_get_operations (line 162) | def test_get_operations(): function test_get_new_command (line 172) | def test_get_new_command(script, output, result): FILE: tests/shells/conftest.py function builtins_open (line 5) | def builtins_open(mocker): function isfile (line 10) | def isfile(mocker): function history_lines (line 16) | def history_lines(mocker): function config_exists (line 26) | def config_exists(mocker): FILE: tests/shells/test_bash.py class TestBash (line 9) | class TestBash(object): method shell (line 11) | def shell(self): method Popen (line 15) | def Popen(self, mocker): method shell_aliases (line 20) | def shell_aliases(self): method test_from_shell (line 32) | def test_from_shell(self, before, after, shell): method test_to_shell (line 35) | def test_to_shell(self, shell): method test_and_ (line 38) | def test_and_(self, shell): method test_or_ (line 41) | def test_or_(self, shell): method test_get_aliases (line 44) | def test_get_aliases(self, shell): method test_app_alias (line 50) | def test_app_alias(self, shell): method test_app_alias_variables_correctly_set (line 56) | def test_app_alias_variables_correctly_set(self, shell): method test_get_history (line 64) | def test_get_history(self, history_lines, shell): method test_split_command (line 68) | def test_split_command(self, shell): method test_how_to_configure (line 73) | def test_how_to_configure(self, shell, config_exists): method test_how_to_configure_when_config_not_found (line 77) | def test_how_to_configure_when_config_not_found(self, shell, method test_info (line 82) | def test_info(self, shell, Popen): method test_get_version_error (line 86) | def test_get_version_error(self, shell, Popen): FILE: tests/shells/test_fish.py class TestFish (line 9) | class TestFish(object): method shell (line 11) | def shell(self): method Popen (line 15) | def Popen(self, mocker): method test_get_overridden_aliases (line 30) | def test_get_overridden_aliases(self, shell, os_environ, key, value): method test_from_shell (line 51) | def test_from_shell(self, before, after, shell): method test_to_shell (line 54) | def test_to_shell(self, shell): method test_and_ (line 57) | def test_and_(self, shell): method test_or_ (line 60) | def test_or_(self, shell): method test_get_aliases (line 63) | def test_get_aliases(self, shell): method test_app_alias (line 79) | def test_app_alias(self, shell): method test_app_alias_alter_history (line 88) | def test_app_alias_alter_history(self, settings, shell): method test_get_history (line 99) | def test_get_history(self, history_lines, shell): method test_put_to_history (line 107) | def test_put_to_history(self, entry, entry_utf8, builtins_open, mocker... method test_how_to_configure (line 113) | def test_how_to_configure(self, shell, config_exists): method test_how_to_configure_when_config_not_found (line 117) | def test_how_to_configure_when_config_not_found(self, shell, method test_get_version (line 122) | def test_get_version(self, shell, Popen): method test_get_version_error (line 131) | def test_get_version_error(self, side_effect, exception, shell, Popen): FILE: tests/shells/test_generic.py class TestGeneric (line 7) | class TestGeneric(object): method shell (line 9) | def shell(self): method test_from_shell (line 12) | def test_from_shell(self, shell): method test_to_shell (line 15) | def test_to_shell(self, shell): method test_and_ (line 18) | def test_and_(self, shell): method test_or_ (line 21) | def test_or_(self, shell): method test_get_aliases (line 24) | def test_get_aliases(self, shell): method test_app_alias (line 27) | def test_app_alias(self, shell): method test_get_history (line 34) | def test_get_history(self, history_lines, shell): method test_split_command (line 40) | def test_split_command(self, shell): method test_how_to_configure (line 44) | def test_how_to_configure(self, shell): method test_info (line 51) | def test_info(self, side_effect, expected_info, warn, shell, mocker): FILE: tests/shells/test_powershell.py class TestPowershell (line 8) | class TestPowershell(object): method shell (line 10) | def shell(self): method Popen (line 14) | def Popen(self, mocker): method test_and_ (line 18) | def test_and_(self, shell): method test_app_alias (line 21) | def test_app_alias(self, shell): method test_how_to_configure (line 26) | def test_how_to_configure(self, shell): method test_info (line 34) | def test_info(self, side_effect, expected_version, call_args, shell, P... method test_get_version_error (line 40) | def test_get_version_error(self, shell, Popen): FILE: tests/shells/test_tcsh.py class TestTcsh (line 8) | class TestTcsh(object): method shell (line 10) | def shell(self): method Popen (line 14) | def Popen(self, mocker): method test_from_shell (line 28) | def test_from_shell(self, before, after, shell): method test_to_shell (line 31) | def test_to_shell(self, shell): method test_and_ (line 34) | def test_and_(self, shell): method test_or_ (line 37) | def test_or_(self, shell): method test_get_aliases (line 40) | def test_get_aliases(self, shell): method test_app_alias (line 46) | def test_app_alias(self, shell): method test_get_history (line 52) | def test_get_history(self, history_lines, shell): method test_how_to_configure (line 56) | def test_how_to_configure(self, shell, config_exists): method test_how_to_configure_when_config_not_found (line 60) | def test_how_to_configure_when_config_not_found(self, shell, method test_info (line 65) | def test_info(self, shell, Popen): method test_get_version_error (line 73) | def test_get_version_error(self, side_effect, exception, shell, Popen): FILE: tests/shells/test_zsh.py class TestZsh (line 9) | class TestZsh(object): method shell (line 11) | def shell(self): method Popen (line 15) | def Popen(self, mocker): method shell_aliases (line 20) | def shell_aliases(self): method test_from_shell (line 31) | def test_from_shell(self, before, after, shell): method test_to_shell (line 34) | def test_to_shell(self, shell): method test_and_ (line 37) | def test_and_(self, shell): method test_or_ (line 40) | def test_or_(self, shell): method test_get_aliases (line 43) | def test_get_aliases(self, shell): method test_app_alias (line 50) | def test_app_alias(self, shell): method test_app_alias_variables_correctly_set (line 56) | def test_app_alias_variables_correctly_set(self, shell): method test_get_history (line 64) | def test_get_history(self, history_lines, shell): method test_how_to_configure (line 68) | def test_how_to_configure(self, shell, config_exists): method test_how_to_configure_when_config_not_found (line 72) | def test_how_to_configure_when_config_not_found(self, shell, method test_info (line 77) | def test_info(self, shell, Popen): method test_get_version_error (line 81) | def test_get_version_error(self, shell, Popen): FILE: tests/specific/test_git.py function test_git_support (line 14) | def test_git_support(called, command, output): function test_git_support_match (line 31) | def test_git_support_match(command, is_git, output): FILE: tests/specific/test_npm.py function test_get_scripts (line 23) | def test_get_scripts(mocker): FILE: tests/specific/test_sudo.py function test_sudo_support (line 14) | def test_sudo_support(return_value, command, called, result): FILE: tests/test_argument_parser.py function _args (line 6) | def _args(**override): function test_parse (line 35) | def test_parse(argv, result): FILE: tests/test_conf.py function load_source (line 9) | def load_source(mocker): function test_settings_defaults (line 13) | def test_settings_defaults(load_source, settings): class TestSettingsFromFile (line 20) | class TestSettingsFromFile(object): method test_from_file (line 21) | def test_from_file(self, load_source, settings): method test_from_file_with_DEFAULT (line 36) | def test_from_file_with_DEFAULT(self, load_source, settings): class TestSettingsFromEnv (line 47) | class TestSettingsFromEnv(object): method test_from_env (line 48) | def test_from_env(self, os_environ, settings): method test_from_env_with_DEFAULT (line 71) | def test_from_env_with_DEFAULT(self, os_environ, settings): function test_settings_from_args (line 77) | def test_settings_from_args(settings): class TestInitializeSettingsFile (line 84) | class TestInitializeSettingsFile(object): method test_ignore_if_exists (line 85) | def test_ignore_if_exists(self, settings): method test_create_if_doesnt_exists (line 92) | def test_create_if_doesnt_exists(self, settings): function test_get_user_dir_path (line 114) | def test_get_user_dir_path(mocker, os_environ, settings, legacy_dir_exists, FILE: tests/test_corrector.py function glob (line 12) | def glob(mocker): class TestGetRules (line 19) | class TestGetRules(object): method load_source (line 21) | def load_source(self, monkeypatch): method _compare_names (line 25) | def _compare_names(self, rules, names): method test_get_rules (line 33) | def test_get_rules(self, glob, settings, paths, conf_rules, exclude_ru... function test_get_rules_rule_exception (line 43) | def test_get_rules_rule_exception(mocker, glob): function test_get_corrected_commands (line 51) | def test_get_corrected_commands(mocker): function test_organize_commands (line 64) | def test_organize_commands(): FILE: tests/test_logs.py function test_color (line 5) | def test_color(settings): function test_debug (line 16) | def test_debug(capsys, settings, debug, stderr): FILE: tests/test_readme.py function test_readme (line 1) | def test_readme(source_root): FILE: tests/test_types.py class TestCorrectedCommand (line 14) | class TestCorrectedCommand(object): method test_equality (line 16) | def test_equality(self): method test_hashable (line 22) | def test_hashable(self): method test_representable (line 26) | def test_representable(self): method test_run (line 40) | def test_run(self, capsys, settings, script, printed, override_settings): class TestRule (line 47) | class TestRule(object): method test_from_path_rule_exception (line 48) | def test_from_path_rule_exception(self, mocker): method test_from_path (line 54) | def test_from_path(self, mocker): method test_from_path_excluded_rule (line 69) | def test_from_path_excluded_rule(self, mocker, settings): method test_is_enabled (line 83) | def test_is_enabled(self, settings, rules, rule, is_enabled): method test_isnt_match (line 87) | def test_isnt_match(self): method test_is_match (line 91) | def test_is_match(self): method test_isnt_match_when_rule_failed (line 96) | def test_isnt_match_when_rule_failed(self, capsys): method test_get_corrected_commands_with_rule_returns_list (line 102) | def test_get_corrected_commands_with_rule_returns_list(self): method test_get_corrected_commands_with_rule_returns_command (line 109) | def test_get_corrected_commands_with_rule_returns_command(self): class TestCommand (line 116) | class TestCommand(object): method Popen (line 118) | def Popen(self, monkeypatch): method prepare (line 125) | def prepare(self, monkeypatch): method test_from_script_calls (line 129) | def test_from_script_calls(self, Popen, settings, os_environ): method test_from_script (line 149) | def test_from_script(self, script, result): FILE: tests/test_ui.py function patch_get_key (line 11) | def patch_get_key(monkeypatch): function test_read_actions (line 19) | def test_read_actions(patch_get_key): function test_command_selector (line 40) | def test_command_selector(): class TestSelectCommand (line 54) | class TestSelectCommand(object): method commands_with_side_effect (line 56) | def commands_with_side_effect(self): method commands (line 61) | def commands(self): method test_without_commands (line 65) | def test_without_commands(self, capsys): method test_without_confirmation (line 69) | def test_without_confirmation(self, capsys, commands, settings): method test_without_confirmation_with_side_effects (line 74) | def test_without_confirmation_with_side_effects( method test_with_confirmation (line 81) | def test_with_confirmation(self, capsys, patch_get_key, commands): method test_with_confirmation_abort (line 87) | def test_with_confirmation_abort(self, capsys, patch_get_key, commands): method test_with_confirmation_with_side_effct (line 93) | def test_with_confirmation_with_side_effct(self, capsys, patch_get_key, method test_with_confirmation_select_second (line 101) | def test_with_confirmation_select_second(self, capsys, patch_get_key, ... FILE: tests/test_utils.py function test_default_settings (line 17) | def test_default_settings(settings, override, old, new): function test_memoize (line 24) | def test_memoize(): function test_no_memoize (line 33) | def test_no_memoize(): class TestGetClosest (line 41) | class TestGetClosest(object): method test_when_can_match (line 42) | def test_when_can_match(self): method test_when_cant_match (line 45) | def test_when_cant_match(self): method test_without_fallback (line 48) | def test_without_fallback(self): class TestGetCloseMatches (line 53) | class TestGetCloseMatches(object): method test_call_with_n (line 55) | def test_call_with_n(self, difflib_mock): method test_call_without_n (line 60) | def test_call_without_n(self, difflib_mock, settings): function get_aliases (line 66) | def get_aliases(mocker): function test_get_all_executables (line 72) | def test_get_all_executables(): function os_environ_pathsep (line 80) | def os_environ_pathsep(monkeypatch, path, pathsep): function test_get_all_executables_pathsep (line 91) | def test_get_all_executables_pathsep(path, pathsep): function test_get_all_executables_exclude_paths (line 101) | def test_get_all_executables_exclude_paths(path, pathsep, excluded, sett... function test_replace_argument (line 114) | def test_replace_argument(args, result): function test_get_all_matched_commands (line 143) | def test_get_all_matched_commands(stderr, result): function test_is_app (line 154) | def test_is_app(script, names, result): function test_for_app (line 165) | def test_for_app(script, names, result): class TestCache (line 173) | class TestCache(object): method shelve (line 175) | def shelve(self, mocker): method enable_cache (line 198) | def enable_cache(self, monkeypatch, shelve): method mtime (line 203) | def mtime(self, mocker): method fn (line 207) | def fn(self): method key (line 215) | def key(self, monkeypatch): method test_with_blank_cache (line 220) | def test_with_blank_cache(self, shelve, fn, key): method test_with_filled_cache (line 225) | def test_with_filled_cache(self, shelve, fn, key): method test_when_etag_changed (line 231) | def test_when_etag_changed(self, shelve, fn, key): class TestGetValidHistoryWithoutCurrent (line 237) | class TestGetValidHistoryWithoutCurrent(object): method fail_on_warning (line 239) | def fail_on_warning(self): method history (line 245) | def history(self, mocker): method alias (line 254) | def alias(self, mocker): method bins (line 259) | def bins(self, mocker): method test_get_valid_history_without_current (line 274) | def test_get_valid_history_without_current(self, script, result): FILE: tests/utils.py class Rule (line 5) | class Rule(types.Rule): method __init__ (line 6) | def __init__(self, name='', match=lambda *_: True, class CorrectedCommand (line 17) | class CorrectedCommand(types.CorrectedCommand): method __init__ (line 18) | def __init__(self, script='', side_effect=None, priority=DEFAULT_PRIOR... FILE: thefuck/argument_parser.py class Parser (line 7) | class Parser(object): method __init__ (line 13) | def __init__(self): method _add_arguments (line 17) | def _add_arguments(self): method _add_conflicting_arguments (line 54) | def _add_conflicting_arguments(self): method _prepare_arguments (line 66) | def _prepare_arguments(self, argv): method parse (line 84) | def parse(self, argv): method print_usage (line 88) | def print_usage(self): method print_help (line 91) | def print_help(self): FILE: thefuck/conf.py function load_source (line 11) | def load_source(name, pathname, _file=None): class Settings (line 20) | class Settings(dict): method __getattr__ (line 21) | def __getattr__(self, item): method __setattr__ (line 24) | def __setattr__(self, key, value): method init (line 27) | def init(self, args=None): method _init_settings_file (line 46) | def _init_settings_file(self): method _get_user_dir_path (line 54) | def _get_user_dir_path(self): method _setup_user_dir (line 68) | def _setup_user_dir(self): method _settings_from_file (line 77) | def _settings_from_file(self): method _rules_from_env (line 85) | def _rules_from_env(self, val): method _priority_from_env (line 92) | def _priority_from_env(self, val): method _val_from_env (line 101) | def _val_from_env(self, env, attr): method _settings_from_env (line 119) | def _settings_from_env(self): method _settings_from_args (line 125) | def _settings_from_args(self, args): FILE: thefuck/const.py class _GenConst (line 4) | class _GenConst(object): method __init__ (line 5) | def __init__(self, name): method __repr__ (line 8) | def __repr__(self): FILE: thefuck/corrector.py function get_loaded_rules (line 8) | def get_loaded_rules(rules_paths): function get_rules_import_paths (line 22) | def get_rules_import_paths(): function get_rules (line 40) | def get_rules(): function organize_commands (line 52) | def organize_commands(corrected_commands): function get_corrected_commands (line 81) | def get_corrected_commands(command): FILE: thefuck/entrypoints/alias.py function _get_alias (line 8) | def _get_alias(known_args): function print_alias (line 26) | def print_alias(known_args): FILE: thefuck/entrypoints/fix_command.py function _get_raw_command (line 13) | def _get_raw_command(known_args): function fix_command (line 29) | def fix_command(known_args): FILE: thefuck/entrypoints/main.py function main (line 16) | def main(): FILE: thefuck/entrypoints/not_configured.py function _get_shell_pid (line 19) | def _get_shell_pid(): function _get_not_configured_usage_tracker_path (line 29) | def _get_not_configured_usage_tracker_path(): function _record_first_run (line 36) | def _record_first_run(): function _get_previous_command (line 46) | def _get_previous_command(): function _is_second_run (line 55) | def _is_second_run(): function _is_already_configured (line 75) | def _is_already_configured(configuration_details): function _configure (line 82) | def _configure(configuration_details): function main (line 91) | def main(): FILE: thefuck/entrypoints/shell_logger.py function _read (line 14) | def _read(f, fd): function _set_pty_size (line 27) | def _set_pty_size(master_fd): function _spawn (line 33) | def _spawn(shell, master_read): function shell_logger (line 64) | def shell_logger(output): FILE: thefuck/exceptions.py class EmptyCommand (line 1) | class EmptyCommand(Exception): class NoRuleMatched (line 5) | class NoRuleMatched(Exception): class ScriptNotInLog (line 9) | class ScriptNotInLog(Exception): FILE: thefuck/logs.py function color (line 12) | def color(color_): function warn (line 20) | def warn(title): function exception (line 28) | def exception(title, exc_info): function rule_failed (line 39) | def rule_failed(rule, exc_info): function failed (line 43) | def failed(msg): function show_corrected_command (line 50) | def show_corrected_command(corrected_command): function confirm_text (line 59) | def confirm_text(corrected_command): function debug (line 75) | def debug(msg): function debug_time (line 85) | def debug_time(msg): function how_to_configure_alias (line 93) | def how_to_configure_alias(configuration_details): function already_configured (line 117) | def already_configured(configuration_details): function configured_successfully (line 127) | def configured_successfully(configuration_details): function version (line 137) | def version(thefuck_version, python_version, shell_info): FILE: thefuck/output_readers/__init__.py function get_output (line 5) | def get_output(script, expanded): FILE: thefuck/output_readers/read_log.py function _group_by_calls (line 15) | def _group_by_calls(log): function _get_script_group_lines (line 42) | def _get_script_group_lines(grouped, script): function _get_output_lines (line 55) | def _get_output_lines(script, log_file): function _skip_old_lines (line 67) | def _skip_old_lines(log_file): function get_output (line 73) | def get_output(script): FILE: thefuck/output_readers/rerun.py function _kill_process (line 10) | def _kill_process(proc): function _wait_output (line 24) | def _wait_output(popen, is_slow): function get_output (line 46) | def get_output(script, expanded): FILE: thefuck/output_readers/shell_logger.py function _get_socket_path (line 12) | def _get_socket_path(): function is_available (line 16) | def is_available(): function _get_last_n (line 29) | def _get_last_n(n): function _get_output_lines (line 41) | def _get_output_lines(output): function get_output (line 49) | def get_output(script): FILE: thefuck/rules/adb_unknown_command.py function match (line 43) | def match(command): function get_new_command (line 48) | def get_new_command(command): FILE: thefuck/rules/ag_literal.py function match (line 5) | def match(command): function get_new_command (line 9) | def get_new_command(command): FILE: thefuck/rules/apt_get.py function _get_executable (line 21) | def _get_executable(command): function get_package (line 29) | def get_package(executable): function match (line 38) | def match(command): function get_new_command (line 46) | def get_new_command(command): FILE: thefuck/rules/apt_get_search.py function match (line 9) | def match(command): function get_new_command (line 13) | def get_new_command(command): FILE: thefuck/rules/apt_invalid_operation.py function match (line 11) | def match(command): function _parse_apt_operations (line 16) | def _parse_apt_operations(help_text_lines): function _parse_apt_get_and_cache_operations (line 28) | def _parse_apt_get_and_cache_operations(help_text_lines): function _get_operations (line 42) | def _get_operations(app): function get_new_command (line 55) | def get_new_command(command): FILE: thefuck/rules/apt_list_upgradable.py function match (line 10) | def match(command): function get_new_command (line 15) | def get_new_command(command): FILE: thefuck/rules/apt_upgrade.py function match (line 10) | def match(command): function get_new_command (line 15) | def get_new_command(command): FILE: thefuck/rules/aws_cli.py function match (line 10) | def match(command): function get_new_command (line 14) | def get_new_command(command): FILE: thefuck/rules/az_cli.py function match (line 10) | def match(command): function get_new_command (line 14) | def get_new_command(command): FILE: thefuck/rules/brew_cask_dependency.py function match (line 7) | def match(command): function _get_cask_install_lines (line 13) | def _get_cask_install_lines(output): function _get_script_for_brew_cask (line 20) | def _get_script_for_brew_cask(output): function get_new_command (line 28) | def get_new_command(command): FILE: thefuck/rules/brew_install.py function _get_suggestions (line 8) | def _get_suggestions(str): function match (line 14) | def match(command): function get_new_command (line 21) | def get_new_command(command): FILE: thefuck/rules/brew_link.py function match (line 5) | def match(command): function get_new_command (line 10) | def get_new_command(command): FILE: thefuck/rules/brew_reinstall.py function match (line 12) | def match(command): function get_new_command (line 18) | def get_new_command(command): FILE: thefuck/rules/brew_uninstall.py function match (line 5) | def match(command): function get_new_command (line 10) | def get_new_command(command): FILE: thefuck/rules/brew_unknown_command.py function _get_brew_commands (line 13) | def _get_brew_commands(brew_path_prefix): function _get_brew_tap_specific_commands (line 21) | def _get_brew_tap_specific_commands(brew_path_prefix): function _is_brew_tap_cmd_naming (line 44) | def _is_brew_tap_cmd_naming(name): function _get_directory_names_only (line 48) | def _get_directory_names_only(path): function _brew_commands (line 53) | def _brew_commands(): function match (line 68) | def match(command): function get_new_command (line 79) | def get_new_command(command): FILE: thefuck/rules/brew_update_formula.py function match (line 5) | def match(command): function get_new_command (line 11) | def get_new_command(command): FILE: thefuck/rules/cargo.py function match (line 1) | def match(command): function get_new_command (line 5) | def get_new_command(command): FILE: thefuck/rules/cargo_no_command.py function match (line 6) | def match(command): function get_new_command (line 11) | def get_new_command(command): FILE: thefuck/rules/cat_dir.py function match (line 6) | def match(command): function get_new_command (line 13) | def get_new_command(command): FILE: thefuck/rules/cd_correction.py function _get_sub_dirs (line 14) | def _get_sub_dirs(parent): function match (line 21) | def match(command): function get_new_command (line 32) | def get_new_command(command): FILE: thefuck/rules/cd_cs.py function match (line 12) | def match(command): function get_new_command (line 17) | def get_new_command(command): FILE: thefuck/rules/cd_mkdir.py function match (line 9) | def match(command): function get_new_command (line 19) | def get_new_command(command): FILE: thefuck/rules/cd_parent.py function match (line 11) | def match(command): function get_new_command (line 15) | def get_new_command(command): FILE: thefuck/rules/chmod_x.py function match (line 5) | def match(command): function get_new_command (line 12) | def get_new_command(command): FILE: thefuck/rules/choco_install.py function match (line 5) | def match(command): function get_new_command (line 10) | def get_new_command(command): FILE: thefuck/rules/composer_not_command.py function match (line 6) | def match(command): function get_new_command (line 13) | def get_new_command(command): FILE: thefuck/rules/conda_mistype.py function match (line 6) | def match(command): function get_new_command (line 13) | def get_new_command(command): FILE: thefuck/rules/cp_create_destination.py function match (line 6) | def match(command): function get_new_command (line 14) | def get_new_command(command): FILE: thefuck/rules/cp_omitting_directory.py function match (line 8) | def match(command): function get_new_command (line 14) | def get_new_command(command): FILE: thefuck/rules/cpp11.py function match (line 5) | def match(command): function get_new_command (line 11) | def get_new_command(command): FILE: thefuck/rules/dirty_untar.py function _is_tar_extract (line 12) | def _is_tar_extract(cmd): function _tar_file (line 21) | def _tar_file(cmd): function match (line 29) | def match(command): function get_new_command (line 35) | def get_new_command(command): function side_effect (line 41) | def side_effect(old_cmd, command): FILE: thefuck/rules/dirty_unzip.py function _is_bad_zip (line 7) | def _is_bad_zip(file): function _zip_file (line 15) | def _zip_file(command): function match (line 29) | def match(command): function get_new_command (line 40) | def get_new_command(command): function side_effect (line 45) | def side_effect(old_cmd, command): FILE: thefuck/rules/django_south_ghost.py function match (line 1) | def match(command): function get_new_command (line 7) | def get_new_command(command): FILE: thefuck/rules/django_south_merge.py function match (line 1) | def match(command): function get_new_command (line 7) | def get_new_command(command): FILE: thefuck/rules/dnf_no_such_command.py function match (line 13) | def match(command): function _parse_operations (line 17) | def _parse_operations(help_text_lines): function _get_operations (line 22) | def _get_operations(): function get_new_command (line 32) | def get_new_command(command): FILE: thefuck/rules/docker_image_being_used_by_container.py function match (line 6) | def match(command): function get_new_command (line 14) | def get_new_command(command): FILE: thefuck/rules/docker_login.py function match (line 6) | def match(command): function get_new_command (line 12) | def get_new_command(command): FILE: thefuck/rules/docker_not_command.py function match (line 10) | def match(command): function _parse_commands (line 14) | def _parse_commands(lines, starts_with): function get_docker_commands (line 21) | def get_docker_commands(): function get_new_command (line 42) | def get_new_command(command): FILE: thefuck/rules/dry.py function match (line 1) | def match(command): function get_new_command (line 9) | def get_new_command(command): FILE: thefuck/rules/fab_command_not_found.py function match (line 5) | def match(command): function _get_between (line 11) | def _get_between(content, start, end=None): function get_new_command (line 25) | def get_new_command(command): FILE: thefuck/rules/fix_alt_space.py function match (line 8) | def match(command): function get_new_command (line 14) | def get_new_command(command): FILE: thefuck/rules/fix_file.py function _make_pattern (line 38) | def _make_pattern(pattern): function _search (line 49) | def _search(output): function match (line 56) | def match(command): function get_new_command (line 65) | def get_new_command(command): FILE: thefuck/rules/gem_unknown_command.py function match (line 7) | def match(command): function _get_unknown_command (line 13) | def _get_unknown_command(command): function _get_all_commands (line 18) | def _get_all_commands(): function get_new_command (line 33) | def get_new_command(command): FILE: thefuck/rules/git_add.py function _get_missing_file (line 9) | def _get_missing_file(command): function match (line 18) | def match(command): function get_new_command (line 24) | def get_new_command(command): FILE: thefuck/rules/git_add_force.py function match (line 6) | def match(command): function get_new_command (line 12) | def get_new_command(command): FILE: thefuck/rules/git_bisect_usage.py function match (line 7) | def match(command): function get_new_command (line 13) | def get_new_command(command): FILE: thefuck/rules/git_branch_0flag.py function first_0flag (line 7) | def first_0flag(script_parts): function match (line 12) | def match(command): function get_new_command (line 17) | def get_new_command(command): FILE: thefuck/rules/git_branch_delete.py function match (line 6) | def match(command): function get_new_command (line 12) | def get_new_command(command): FILE: thefuck/rules/git_branch_delete_checked_out.py function match (line 7) | def match(command): function get_new_command (line 16) | def get_new_command(command): FILE: thefuck/rules/git_branch_exists.py function match (line 8) | def match(command): function get_new_command (line 15) | def get_new_command(command): FILE: thefuck/rules/git_branch_list.py function match (line 6) | def match(command): function get_new_command (line 13) | def get_new_command(command): FILE: thefuck/rules/git_checkout.py function match (line 10) | def match(command): function get_branches (line 15) | def get_branches(): function get_new_command (line 31) | def get_new_command(command): FILE: thefuck/rules/git_clone_git_clone.py function match (line 5) | def match(command): function get_new_command (line 11) | def get_new_command(command): FILE: thefuck/rules/git_clone_missing.py function match (line 17) | def match(command): function get_new_command (line 41) | def get_new_command(command): FILE: thefuck/rules/git_commit_add.py function match (line 6) | def match(command): function get_new_command (line 15) | def get_new_command(command): FILE: thefuck/rules/git_commit_amend.py function match (line 5) | def match(command): function get_new_command (line 10) | def get_new_command(command): FILE: thefuck/rules/git_commit_reset.py function match (line 5) | def match(command): function get_new_command (line 10) | def get_new_command(command): FILE: thefuck/rules/git_diff_no_index.py function match (line 6) | def match(command): function get_new_command (line 15) | def get_new_command(command): FILE: thefuck/rules/git_diff_staged.py function match (line 6) | def match(command): function get_new_command (line 12) | def get_new_command(command): FILE: thefuck/rules/git_fix_stash.py function match (line 7) | def match(command): function get_new_command (line 28) | def get_new_command(command): FILE: thefuck/rules/git_flag_after_filename.py function match (line 9) | def match(command): function get_new_command (line 14) | def get_new_command(command): FILE: thefuck/rules/git_help_aliased.py function match (line 5) | def match(command): function get_new_command (line 10) | def get_new_command(command): FILE: thefuck/rules/git_hook_bypass.py function match (line 8) | def match(command): function get_new_command (line 15) | def get_new_command(command): FILE: thefuck/rules/git_lfs_mistype.py function match (line 7) | def match(command): function get_new_command (line 15) | def get_new_command(command): FILE: thefuck/rules/git_main_master.py function match (line 5) | def match(command): function get_new_command (line 10) | def get_new_command(command): FILE: thefuck/rules/git_merge.py function match (line 7) | def match(command): function get_new_command (line 14) | def get_new_command(command): FILE: thefuck/rules/git_merge_unrelated.py function match (line 5) | def match(command): function get_new_command (line 11) | def get_new_command(command): FILE: thefuck/rules/git_not_command.py function match (line 7) | def match(command): function get_new_command (line 14) | def get_new_command(command): FILE: thefuck/rules/git_pull.py function match (line 6) | def match(command): function get_new_command (line 11) | def get_new_command(command): FILE: thefuck/rules/git_pull_clone.py function match (line 6) | def match(command): function get_new_command (line 12) | def get_new_command(command): FILE: thefuck/rules/git_pull_uncommitted_changes.py function match (line 6) | def match(command): function get_new_command (line 13) | def get_new_command(command): FILE: thefuck/rules/git_push.py function match (line 7) | def match(command): function _get_upstream_option_index (line 12) | def _get_upstream_option_index(command_parts): function get_new_command (line 22) | def get_new_command(command): FILE: thefuck/rules/git_push_different_branch_names.py function match (line 6) | def match(command): function get_new_command (line 11) | def get_new_command(command): FILE: thefuck/rules/git_push_force.py function match (line 6) | def match(command): function get_new_command (line 14) | def get_new_command(command): FILE: thefuck/rules/git_push_pull.py function match (line 7) | def match(command): function get_new_command (line 18) | def get_new_command(command): FILE: thefuck/rules/git_push_without_commits.py function match (line 7) | def match(command): function get_new_command (line 11) | def get_new_command(command): FILE: thefuck/rules/git_rebase_merge_dir.py function match (line 6) | def match(command): function get_new_command (line 13) | def get_new_command(command): FILE: thefuck/rules/git_rebase_no_changes.py function match (line 5) | def match(command): function get_new_command (line 12) | def get_new_command(command): FILE: thefuck/rules/git_remote_delete.py function match (line 7) | def match(command): function get_new_command (line 12) | def get_new_command(command): FILE: thefuck/rules/git_remote_seturl_add.py function match (line 6) | def match(command): function get_new_command (line 11) | def get_new_command(command): FILE: thefuck/rules/git_rm_local_modifications.py function match (line 5) | def match(command): function get_new_command (line 12) | def get_new_command(command): FILE: thefuck/rules/git_rm_recursive.py function match (line 5) | def match(command): function get_new_command (line 12) | def get_new_command(command): FILE: thefuck/rules/git_rm_staged.py function match (line 5) | def match(command): function get_new_command (line 12) | def get_new_command(command): FILE: thefuck/rules/git_stash.py function match (line 6) | def match(command): function get_new_command (line 13) | def get_new_command(command): FILE: thefuck/rules/git_stash_pop.py function match (line 6) | def match(command): function get_new_command (line 13) | def get_new_command(command): FILE: thefuck/rules/git_tag_force.py function match (line 6) | def match(command): function get_new_command (line 12) | def get_new_command(command): FILE: thefuck/rules/git_two_dashes.py function match (line 6) | def match(command): function get_new_command (line 12) | def get_new_command(command): FILE: thefuck/rules/go_run.py function match (line 10) | def match(command): function get_new_command (line 15) | def get_new_command(command): FILE: thefuck/rules/go_unknown_command.py function get_golang_commands (line 7) | def get_golang_commands(): function match (line 21) | def match(command): function get_new_command (line 25) | def get_new_command(command): FILE: thefuck/rules/gradle_no_task.py function match (line 9) | def match(command): function _get_all_tasks (line 14) | def _get_all_tasks(gradle): function get_new_command (line 31) | def get_new_command(command): FILE: thefuck/rules/gradle_wrapper.py function match (line 6) | def match(command): function get_new_command (line 12) | def get_new_command(command): FILE: thefuck/rules/grep_arguments_order.py function _get_actual_file (line 5) | def _get_actual_file(parts): function match (line 12) | def match(command): function get_new_command (line 17) | def get_new_command(command): FILE: thefuck/rules/grep_recursive.py function match (line 5) | def match(command): function get_new_command (line 9) | def get_new_command(command): FILE: thefuck/rules/grunt_task_not_found.py function match (line 9) | def match(command): function _get_all_tasks (line 15) | def _get_all_tasks(): function get_new_command (line 32) | def get_new_command(command): FILE: thefuck/rules/gulp_not_task.py function match (line 7) | def match(command): function get_gulp_tasks (line 12) | def get_gulp_tasks(): function get_new_command (line 19) | def get_new_command(command): FILE: thefuck/rules/has_exists_script.py function match (line 6) | def match(command): function get_new_command (line 12) | def get_new_command(command): FILE: thefuck/rules/heroku_multiple_apps.py function match (line 6) | def match(command): function get_new_command (line 10) | def get_new_command(command): FILE: thefuck/rules/heroku_not_command.py function match (line 6) | def match(command): function get_new_command (line 10) | def get_new_command(command): FILE: thefuck/rules/history.py function match (line 5) | def match(command): function get_new_command (line 10) | def get_new_command(command): FILE: thefuck/rules/hostscli.py function match (line 11) | def match(command): function get_new_command (line 20) | def get_new_command(command): FILE: thefuck/rules/ifconfig_device_not_found.py function match (line 6) | def match(command): function _get_possible_interfaces (line 12) | def _get_possible_interfaces(): function get_new_command (line 20) | def get_new_command(command): FILE: thefuck/rules/java.py function match (line 12) | def match(command): function get_new_command (line 16) | def get_new_command(command): FILE: thefuck/rules/javac.py function match (line 13) | def match(command): function get_new_command (line 17) | def get_new_command(command): FILE: thefuck/rules/lein_not_task.py function match (line 8) | def match(command): function get_new_command (line 15) | def get_new_command(command): FILE: thefuck/rules/ln_no_hard_link.py function match (line 16) | def match(command): function get_new_command (line 22) | def get_new_command(command): FILE: thefuck/rules/ln_s_order.py function _get_destination (line 5) | def _get_destination(script_parts): function match (line 13) | def match(command): function get_new_command (line 21) | def get_new_command(command): FILE: thefuck/rules/long_form_help.py function match (line 8) | def match(command): function get_new_command (line 18) | def get_new_command(command): FILE: thefuck/rules/ls_all.py function match (line 5) | def match(command): function get_new_command (line 9) | def get_new_command(command): FILE: thefuck/rules/ls_lah.py function match (line 5) | def match(command): function get_new_command (line 9) | def get_new_command(command): FILE: thefuck/rules/man.py function match (line 5) | def match(command): function get_new_command (line 9) | def get_new_command(command): FILE: thefuck/rules/man_no_space.py function match (line 1) | def match(command): function get_new_command (line 6) | def get_new_command(command): FILE: thefuck/rules/mercurial.py function extract_possibilities (line 5) | def extract_possibilities(command): function match (line 16) | def match(command): function get_new_command (line 23) | def get_new_command(command): FILE: thefuck/rules/missing_space_before_subcommand.py function _get_executable (line 5) | def _get_executable(script_part): function match (line 11) | def match(command): function get_new_command (line 16) | def get_new_command(command): FILE: thefuck/rules/mkdir_p.py function match (line 6) | def match(command): function get_new_command (line 12) | def get_new_command(command): FILE: thefuck/rules/mvn_no_command.py function match (line 5) | def match(command): function get_new_command (line 9) | def get_new_command(command): FILE: thefuck/rules/mvn_unknown_lifecycle_phase.py function _get_failed_lifecycle (line 5) | def _get_failed_lifecycle(command): function _getavailable_lifecycles (line 10) | def _getavailable_lifecycles(command): function match (line 16) | def match(command): function get_new_command (line 22) | def get_new_command(command): FILE: thefuck/rules/nixos_cmd_not_found.py function match (line 9) | def match(command): function get_new_command (line 13) | def get_new_command(command): FILE: thefuck/rules/no_command.py function match (line 7) | def match(command): function _get_used_executables (line 15) | def _get_used_executables(command): function get_new_command (line 21) | def get_new_command(command): FILE: thefuck/rules/no_such_file.py function match (line 13) | def match(command): function get_new_command (line 21) | def get_new_command(command): FILE: thefuck/rules/npm_missing_script.py function match (line 9) | def match(command): function get_new_command (line 14) | def get_new_command(command): FILE: thefuck/rules/npm_run_script.py function match (line 8) | def match(command): function get_new_command (line 14) | def get_new_command(command): FILE: thefuck/rules/npm_wrong_command.py function _get_wrong_command (line 8) | def _get_wrong_command(script_parts): function match (line 16) | def match(command): function _get_available_commands (line 23) | def _get_available_commands(stdout): function get_new_command (line 38) | def get_new_command(command): FILE: thefuck/rules/omnienv_no_such_command.py function match (line 18) | def match(command): function get_app_commands (line 22) | def get_app_commands(app): function get_new_command (line 27) | def get_new_command(command): FILE: thefuck/rules/open.py function is_arg_url (line 12) | def is_arg_url(command): function match (line 26) | def match(command): function get_new_command (line 33) | def get_new_command(command): FILE: thefuck/rules/pacman.py function match (line 5) | def match(command): function get_new_command (line 9) | def get_new_command(command): FILE: thefuck/rules/pacman_invalid_option.py function match (line 9) | def match(command): function get_new_command (line 15) | def get_new_command(command): FILE: thefuck/rules/pacman_not_found.py function match (line 13) | def match(command): function get_new_command (line 20) | def get_new_command(command): FILE: thefuck/rules/path_from_history.py function _get_destination (line 16) | def _get_destination(command): function match (line 24) | def match(command): function _get_all_absolute_paths_from_history (line 28) | def _get_all_absolute_paths_from_history(command): function get_new_command (line 44) | def get_new_command(command): FILE: thefuck/rules/php_s.py function match (line 5) | def match(command): function get_new_command (line 10) | def get_new_command(command): FILE: thefuck/rules/pip_install.py function match (line 7) | def match(command): function get_new_command (line 11) | def get_new_command(command): FILE: thefuck/rules/pip_unknown_command.py function match (line 8) | def match(command): function get_new_command (line 14) | def get_new_command(command): FILE: thefuck/rules/port_already_in_use.py function _get_pid_by_port (line 15) | def _get_pid_by_port(port): function _get_used_port (line 25) | def _get_used_port(command): function match (line 32) | def match(command): function get_new_command (line 37) | def get_new_command(command): FILE: thefuck/rules/prove_recursively.py function _is_recursive (line 5) | def _is_recursive(part): function _isdir (line 12) | def _isdir(part): function match (line 17) | def match(command): function get_new_command (line 24) | def get_new_command(command): FILE: thefuck/rules/python_command.py function match (line 8) | def match(command): function get_new_command (line 16) | def get_new_command(command): FILE: thefuck/rules/python_execute.py function match (line 10) | def match(command): function get_new_command (line 14) | def get_new_command(command): FILE: thefuck/rules/python_module_error.py function match (line 7) | def match(command): function get_new_command (line 11) | def get_new_command(command): FILE: thefuck/rules/quotation_marks.py function match (line 7) | def match(command): function get_new_command (line 11) | def get_new_command(command): FILE: thefuck/rules/rails_migrations_pending.py function match (line 8) | def match(command): function get_new_command (line 12) | def get_new_command(command): FILE: thefuck/rules/react_native_command_unrecognized.py function match (line 7) | def match(command): function _get_commands (line 13) | def _get_commands(): function get_new_command (line 30) | def get_new_command(command): FILE: thefuck/rules/remove_shell_prompt_literal.py function match (line 15) | def match(command): function get_new_command (line 22) | def get_new_command(command): FILE: thefuck/rules/remove_trailing_cedilla.py function match (line 6) | def match(command): function get_new_command (line 10) | def get_new_command(command): FILE: thefuck/rules/rm_dir.py function match (line 6) | def match(command): function get_new_command (line 12) | def get_new_command(command): FILE: thefuck/rules/rm_root.py function match (line 7) | def match(command): function get_new_command (line 15) | def get_new_command(command): FILE: thefuck/rules/scm_correction.py function _get_actual_scm (line 16) | def _get_actual_scm(): function match (line 23) | def match(command): function get_new_command (line 30) | def get_new_command(command): FILE: thefuck/rules/sed_unterminated_s.py function match (line 7) | def match(command): function get_new_command (line 11) | def get_new_command(command): FILE: thefuck/rules/sl_ls.py function match (line 9) | def match(command): function get_new_command (line 13) | def get_new_command(command): FILE: thefuck/rules/ssh_known_hosts.py function match (line 8) | def match(command): function get_new_command (line 23) | def get_new_command(command): function side_effect (line 27) | def side_effect(old_cmd, command): FILE: thefuck/rules/sudo.py function match (line 31) | def match(command): function get_new_command (line 41) | def get_new_command(command): FILE: thefuck/rules/sudo_command_from_user_path.py function _get_command_name (line 5) | def _get_command_name(command): function match (line 12) | def match(command): function get_new_command (line 18) | def get_new_command(command): FILE: thefuck/rules/switch_lang.py function _get_matched_layout (line 49) | def _get_matched_layout(command): function _switch (line 64) | def _switch(ch, layout): function _switch_command (line 70) | def _switch_command(command, layout): function _decompose_korean (line 79) | def _decompose_korean(command): function match (line 100) | def match(command): function get_new_command (line 112) | def get_new_command(command): FILE: thefuck/rules/systemctl.py function match (line 10) | def match(command): function get_new_command (line 19) | def get_new_command(command): FILE: thefuck/rules/terraform_init.py function match (line 6) | def match(command): function get_new_command (line 12) | def get_new_command(command): FILE: thefuck/rules/terraform_no_command.py function match (line 9) | def match(command): function get_new_command (line 13) | def get_new_command(command): FILE: thefuck/rules/test.py.py function match (line 1) | def match(command): function get_new_command (line 5) | def get_new_command(command): FILE: thefuck/rules/tmux.py function match (line 6) | def match(command): function get_new_command (line 11) | def get_new_command(command): FILE: thefuck/rules/touch.py function match (line 7) | def match(command): function get_new_command (line 11) | def get_new_command(command): FILE: thefuck/rules/tsuru_login.py function match (line 6) | def match(command): function get_new_command (line 11) | def get_new_command(command): FILE: thefuck/rules/tsuru_not_command.py function match (line 6) | def match(command): function get_new_command (line 11) | def get_new_command(command): FILE: thefuck/rules/unknown_command.py function match (line 5) | def match(command): function get_new_command (line 10) | def get_new_command(command): FILE: thefuck/rules/unsudo.py function match (line 4) | def match(command): function get_new_command (line 14) | def get_new_command(command): FILE: thefuck/rules/vagrant_up.py function match (line 6) | def match(command): function get_new_command (line 10) | def get_new_command(command): FILE: thefuck/rules/whois.py function match (line 7) | def match(command): function get_new_command (line 27) | def get_new_command(command): FILE: thefuck/rules/workon_doesnt_exists.py function _get_all_environments (line 7) | def _get_all_environments(): function match (line 18) | def match(command): function get_new_command (line 23) | def get_new_command(command): FILE: thefuck/rules/wrong_hyphen_before_subcommand.py function match (line 6) | def match(command): function get_new_command (line 15) | def get_new_command(command): FILE: thefuck/rules/yarn_alias.py function match (line 6) | def match(command): function get_new_command (line 10) | def get_new_command(command): FILE: thefuck/rules/yarn_command_not_found.py function match (line 10) | def match(command): function _get_all_tasks (line 18) | def _get_all_tasks(): function get_new_command (line 36) | def get_new_command(command): FILE: thefuck/rules/yarn_command_replaced.py function match (line 8) | def match(command): function get_new_command (line 12) | def get_new_command(command): FILE: thefuck/rules/yarn_help.py function match (line 7) | def match(command): function get_new_command (line 12) | def get_new_command(command): FILE: thefuck/rules/yum_invalid_operation.py function match (line 13) | def match(command): function _get_operations (line 17) | def _get_operations(): function get_new_command (line 33) | def get_new_command(command): FILE: thefuck/shells/__init__.py function _get_shell_from_env (line 23) | def _get_shell_from_env(): function _get_shell_from_proc (line 30) | def _get_shell_from_proc(): FILE: thefuck/shells/bash.py class Bash (line 11) | class Bash(Generic): method app_alias (line 14) | def app_alias(self, alias_name): method instant_mode_alias (line 37) | def instant_mode_alias(self, alias_name): method _parse_alias (line 56) | def _parse_alias(self, alias): method get_aliases (line 63) | def get_aliases(self): method _get_history_file_name (line 68) | def _get_history_file_name(self): method _get_history_line (line 72) | def _get_history_line(self, command_script): method how_to_configure (line 75) | def how_to_configure(self): method _get_version (line 88) | def _get_version(self): FILE: thefuck/shells/fish.py function _get_functions (line 14) | def _get_functions(overridden): function _get_aliases (line 21) | def _get_aliases(overridden): class Fish (line 40) | class Fish(Generic): method _get_overridden_aliases (line 43) | def _get_overridden_aliases(self): method app_alias (line 51) | def app_alias(self, alias_name): method get_aliases (line 68) | def get_aliases(self): method _expand_aliases (line 75) | def _expand_aliases(self, command_script): method _get_history_file_name (line 85) | def _get_history_file_name(self): method _get_history_line (line 88) | def _get_history_line(self, command_script): method _script_from_history (line 91) | def _script_from_history(self, line): method and_ (line 97) | def and_(self, *commands): method or_ (line 100) | def or_(self, *commands): method how_to_configure (line 103) | def how_to_configure(self): method _get_version (line 109) | def _get_version(self): method put_to_history (line 114) | def put_to_history(self, command): method _put_to_history (line 120) | def _put_to_history(self, command_script): FILE: thefuck/shells/generic.py class Generic (line 16) | class Generic(object): method get_aliases (line 19) | def get_aliases(self): method _expand_aliases (line 22) | def _expand_aliases(self, command_script): method from_shell (line 30) | def from_shell(self, command_script): method to_shell (line 34) | def to_shell(self, command_script): method app_alias (line 38) | def app_alias(self, alias_name): method instant_mode_alias (line 42) | def instant_mode_alias(self, alias_name): method _get_history_file_name (line 46) | def _get_history_file_name(self): method _get_history_line (line 49) | def _get_history_line(self, command_script): method get_history (line 53) | def get_history(self): method _get_history_lines (line 56) | def _get_history_lines(self): method and_ (line 73) | def and_(self, *commands): method or_ (line 76) | def or_(self, *commands): method how_to_configure (line 79) | def how_to_configure(self): method split_command (line 82) | def split_command(self, command): method encode_utf8 (line 93) | def encode_utf8(self, command): method decode_utf8 (line 98) | def decode_utf8(self, command_parts): method quote (line 103) | def quote(self, s): method _script_from_history (line 113) | def _script_from_history(self, line): method put_to_history (line 116) | def put_to_history(self, command): method get_builtin_commands (line 124) | def get_builtin_commands(self): method _get_version (line 136) | def _get_version(self): method info (line 140) | def info(self): method _create_shell_configuration (line 149) | def _create_shell_configuration(self, content, path, reload): FILE: thefuck/shells/powershell.py class Powershell (line 6) | class Powershell(Generic): method app_alias (line 9) | def app_alias(self, alias_name): method and_ (line 22) | def and_(self, *commands): method how_to_configure (line 25) | def how_to_configure(self): method _get_version (line 32) | def _get_version(self): FILE: thefuck/shells/tcsh.py class Tcsh (line 8) | class Tcsh(Generic): method app_alias (line 11) | def app_alias(self, alias_name): method _parse_alias (line 16) | def _parse_alias(self, alias): method get_aliases (line 21) | def get_aliases(self): method _get_history_file_name (line 28) | def _get_history_file_name(self): method _get_history_line (line 32) | def _get_history_line(self, command_script): method how_to_configure (line 35) | def how_to_configure(self): method _get_version (line 41) | def _get_version(self): FILE: thefuck/shells/zsh.py class Zsh (line 12) | class Zsh(Generic): method app_alias (line 15) | def app_alias(self, alias_name): method instant_mode_alias (line 40) | def instant_mode_alias(self, alias_name): method _parse_alias (line 61) | def _parse_alias(self, alias): method get_aliases (line 68) | def get_aliases(self): method _get_history_file_name (line 73) | def _get_history_file_name(self): method _get_history_line (line 77) | def _get_history_line(self, command_script): method _script_from_history (line 80) | def _script_from_history(self, line): method how_to_configure (line 86) | def how_to_configure(self): method _get_version (line 92) | def _get_version(self): FILE: thefuck/specific/archlinux.py function get_pkgfile (line 7) | def get_pkgfile(command): function archlinux_env (line 34) | def archlinux_env(): FILE: thefuck/specific/brew.py function get_brew_path_prefix (line 9) | def get_brew_path_prefix(): FILE: thefuck/specific/git.py function git_support (line 8) | def git_support(fn, command): FILE: thefuck/specific/npm.py function get_scripts (line 10) | def get_scripts(): FILE: thefuck/specific/sudo.py function sudo_support (line 6) | def sudo_support(fn, command): FILE: thefuck/system/unix.py function getch (line 12) | def getch(): function get_key (line 22) | def get_key(): function open_command (line 40) | def open_command(arg): function _expanduser (line 52) | def _expanduser(self): FILE: thefuck/system/win32.py function init_output (line 7) | def init_output(): function get_key (line 13) | def get_key(): function open_command (line 28) | def open_command(arg): function _expanduser (line 38) | def _expanduser(self): FILE: thefuck/types.py class Command (line 12) | class Command(object): method __init__ (line 15) | def __init__(self, script, output): method stdout (line 26) | def stdout(self): method stderr (line 31) | def stderr(self): method script_parts (line 36) | def script_parts(self): method __eq__ (line 47) | def __eq__(self, other): method __repr__ (line 53) | def __repr__(self): method update (line 57) | def update(self, **kwargs): method from_raw_script (line 68) | def from_raw_script(cls, raw_script): class Rule (line 85) | class Rule(object): method __init__ (line 88) | def __init__(self, name, match, get_new_command, method __eq__ (line 110) | def __eq__(self, other): method __repr__ (line 121) | def __repr__(self): method from_path (line 130) | def from_path(cls, path): method is_enabled (line 156) | def is_enabled(self): method is_match (line 168) | def is_match(self, command): method get_corrected_commands (line 185) | def get_corrected_commands(self, command): class CorrectedCommand (line 201) | class CorrectedCommand(object): method __init__ (line 204) | def __init__(self, script, side_effect, priority): method __eq__ (line 216) | def __eq__(self, other): method __hash__ (line 224) | def __hash__(self): method __repr__ (line 227) | def __repr__(self): method _get_script (line 231) | def _get_script(self): method run (line 247) | def run(self, old_cmd): FILE: thefuck/ui.py function read_actions (line 11) | def read_actions(): class CommandSelector (line 27) | class CommandSelector(object): method __init__ (line 30) | def __init__(self, commands): method _realise (line 40) | def _realise(self): method next (line 45) | def next(self): method previous (line 49) | def previous(self): method value (line 54) | def value(self): function select_command (line 59) | def select_command(corrected_commands): FILE: thefuck/utils.py function memoize (line 25) | def memoize(fn): function which (line 49) | def which(program): function default_settings (line 73) | def default_settings(params): function get_closest (line 90) | def get_closest(word, possibilities, cutoff=0.6, fallback_to_first=True): function get_close_matches (line 100) | def get_close_matches(word, possibilities, n=None, cutoff=0.6): function include_path_in_search (line 107) | def include_path_in_search(path): function get_all_executables (line 112) | def get_all_executables(): function replace_argument (line 136) | def replace_argument(script, from_, to): function eager (line 148) | def eager(fn, *args, **kwargs): function get_all_matched_commands (line 153) | def get_all_matched_commands(stderr, separator='Did you mean'): function replace_command (line 167) | def replace_command(command, broken, matched): function is_app (line 175) | def is_app(command, *app_names, **kwargs): function for_app (line 188) | def for_app(*app_names, **kwargs): class Cache (line 199) | class Cache(object): method __init__ (line 202) | def __init__(self): method _init_db (line 205) | def _init_db(self): method _setup_db (line 212) | def _setup_db(self): method _get_cache_dir (line 226) | def _get_cache_dir(self): method _get_mtime (line 240) | def _get_mtime(self, path): method _get_key (line 246) | def _get_key(self, fn, depends_on, args, kwargs): method get_value (line 251) | def get_value(self, fn, depends_on, args, kwargs): function cache (line 271) | def cache(*depends_on): function get_installation_version (line 297) | def get_installation_version(): function get_alias (line 308) | def get_alias(): function get_valid_history_without_current (line 313) | def get_valid_history_without_current(command): function format_raw_script (line 335) | def format_raw_script(raw_script):