thefuck

Magnificent app which corrects your previous console command.

MIT License

Downloads
16.4K
Stars
84.9K
Committers
196

Bot releases are hidden (Show)

thefuck - Latest Release

Published by scorphus almost 3 years ago

  • Addition of new rules
    • #942: Add new git_branch_0v_to_dash_v rule
    • #1210: Add rule 'rails_migrations_pending'
    • #1131: Add rule for Git commit with no added files
    • #1184: Add new rule for main / master Git branches
    • #977: Add wrong_hyphen_before_subcommand rule
  • Improvements to existing rules
    • #1039: Remove all leading $ not just one
    • #1123: Update composer_not_command rule (#1135)
    • #942: Improve git_branch_0flag rule - with a new name
    • #1131: Improve git_commit_add rule
    • #1184: Improve + fix git_main_master rule
    • #894: Combine commands with shell.and_ in docker_login rule
    • #618: Fix git_push_without_commits rule
    • #933: Correctly redefine the function with a cache
    • #579: Ignore commands of len 1 in missing_space_before_subcommand
    • #1227: Make git_support support output-independent rules
  • Improvements to documentation and development experience
    • Fix git_hook_bypass priority (#1207)
    • #1164: Optimize GIFs with ImgBot
    • #N/A: Fix grammar and spelling errors (#1193)
    • #455: [README] Add uninstall instructions (#1171)
    • #1150: Update the name of macOS on README
    • #1109: Fix a typo on a comment
    • #1184: Add devcontainer for easy Python development
    • #1184: Configure devcontainer shell with recommended way
    • #868: Fix outdated link to homebrew for Linux (#1226)
    • #1233: Use --user with pip, not sudo pip
  • Bug fixes
    • Avoid using pkg_resources
    • #N/A: Fix yield_fixture deprecation (#1211)
    • #1133: Match commands with path prefixes in @for_app decorations
    • #1215: Remove redirection to stderr with the ^ character
    • #1215: Initiate settings before printing the alias
    • #N/A: Replace only exact words when expanding a Git alias
    • #994: Replace decoding errors with the replacement marker
    • #1188: Remove only leading whitespace chars from script
    • #697: Encode expanded script on Python 2
    • #1250: Encapsulate force_command in _get_raw_command
thefuck -

Published by nvbn over 3 years ago

  • add excluded_search_path_prefixes setting #1165
  • add cd_cs rule #1167
  • extend pyenv rule to include goenv, nodenv and rbenv #1100
  • add conda rule #1138
  • add python_module_error rule #1151
  • fix possible changes in files outside of working directory in dirty_unzip and dirty_untar rules #1206
  • various improvements and bugfixes
thefuck -

Published by nvbn over 4 years ago

  • new nixos_cmd_not_found rule (#912, #922)
  • new terraform_init rule (#924)
  • new docker_image_being_used_by_container rule (#925, #928)
  • new go_unknown_command rule (#933)
  • new yum_invalid_operation rule (#968)
  • new git_branch_delete_checked_out rule (#985)
  • new remove_shell_prompt_literal rule (#996)
  • new choco_install rule (#998)
  • new cp_create_destination rule (#1061)
  • Korean support in switch_lang rule (#880, #981)
  • fix recursive shell nesting (#921, #923)
  • fix support of non-English output in apt_list_upgradable (#931)
  • fix git_checkout with git 2.22.0 (#934)
  • fix docker_not_command with newer docker versions (#937, #940)
  • fix rules_git_checkout with branches with slashes (#944)
  • fix apt_invalid_operation behaviour with apt uninstall (#950)
  • fix slow commands time out (#961)
  • fix powershell support (#1004)
  • fix apt_invalid_operation with newer apt-get versions (#1031)
  • fix pip_unknown_command (#1047, #1059)
thefuck -

Published by nvbn over 5 years ago

  • new pyenv_no_such_command rule (#918)
  • new pip_install rule (#895)
  • new docker_login rule (#894)
  • new git_commit_reset rule (#886)
  • yay support in pacman and pacman_not_found rules (#907)
  • Greek support in switch_lang rule (#862, #864)
  • support of -y/--yeah command line args in Fish Shell (#900)
  • improved fetching of shells version (#920)
  • improved windows support (#902, #917)
  • bugfixes (#861, #869, #872, #874)
thefuck -

Published by nvbn almost 6 years ago

  • Ukrainian layout support in switch_lang rule (#855)
  • pwsh support (#844)
  • BSD style output support in touch rule (#360)
  • --yeah as an alternative arg to -y and --yes (#822)
  • bug fixes: #854, #835, #842, #827, #820, #818, #819
thefuck -

Published by nvbn over 6 years ago

  • initial zsh-only shell_logger support
  • fixed Fish shell support (#807)
  • fixed PowerShell coloring (#772)
  • new brew_reinstall rule (#816)
  • new long_form_help rule (#810)
thefuck -

Published by nvbn over 6 years ago

  • Ubuntu 18.04 support (#786)
  • Improved fish alias (#727)
  • New unsudo rule (#787)
  • New git_merge_unrelated rule (#773)
  • New git_commit_amend rule (#664)
  • New adb_unknown_command rule (#765)
  • New apt_upgrade rule (#761)
  • New git_merge rule (#629)
  • Improved cd_mkdir rule (#784)
  • Improved cd_correction rule (#784)
  • Improved switch_lang rule (#776)
  • Improved git_branch_exists rule (#762)
  • Improved git_push rule (#740)
  • Improved git_checkout rule (#632)
  • No longer rely on $SHELL for detecting shell (#783)
thefuck -

Published by nvbn almost 7 years ago

  • add support of third-party packages with rules (#737);
  • fix Windows support (#715);
  • fix zsh alias (#733);
  • new rule: heroku_multiple_apps – add --app <app> to heroku commands like heroku pg (#729);
  • new rule: apt_list_upgradable – helps you run apt list --upgradable after apt update (#732);
  • minor bug fixes.
thefuck -

Published by nvbn about 7 years ago

  • instant fuck mode support on macOS (#682);
  • command selection with ctrl+n and ctrl+p instead of and (#711);
  • improvements in cache (#707);
  • fixed exception in python3 + fish (#708);
  • fixed configuration code for fish shell (#658);
  • support parameters in PowerShell (#696);
  • rules api changed, Command.output instead of stdout/stderr (#682, #691);
  • multiline PS1 with instant mode (#692);
  • add php_s rule that replaces -s by -S when trying to run a local php server (#655);
  • add dnf_no_such_command rule that fixes mistyped DNF commands (#698);
  • add git_remote_delete rule that replaces git remote delete remote_name with git remote remove remote_name (#670);
  • add git_push_different_branch_names rule that fixes pushes when local brach name does not match remote branch name (#652);
  • add prove_recursively rule that adds -r when called with directory;
  • add brew_cask_dependency rule that installs cask dependencies;
  • fix brew_update_formula rule (#710).
thefuck -

Published by nvbn about 7 years ago

  • show warning about Python 2 only if Python 2 used (#685)
thefuck -

Published by nvbn about 7 years ago

thefuck -

Published by nvbn about 7 years ago

Before:

thefuck git br THEFUCK_ARGUMENT_PLACEHOLDER -y  0,36s user 0,02s system 97% cpu 0,383 total
thefuck --alias  0,29s user 0,01s system 99% cpu 0,303 total

After:

thefuck git br THEFUCK_ARGUMENT_PLACEHOLDER -y  0,19s user 0,03s system 94% cpu 0,234 total
thefuck --alias  0,13s user 0,02s system 99% cpu 0,149 total
thefuck -

Published by nvbn about 7 years ago

  • exception while "run fuck second time for configuring it automatically." #658
  • fuck can't configure itself automatically on bash #662
thefuck -

Published by nvbn about 7 years ago

  • support spaces in file names (#630)
  • support new git error messages (#671)
thefuck -

Published by nvbn over 7 years ago

  • again fix support of bash aliases (#549, #645)
thefuck -

Published by nvbn over 7 years ago

  • fix support of bash aliases (#549, #645)
  • appropriate message instead of "No fucks given" when alias isn't fuck (#635)
  • fix encoding with bash (#643)
  • fix suggestion on yarn require ... (#637)
thefuck -

Published by nvbn over 7 years ago

  • Repeated fucking fucks up with UnicodeDecodeError (Python 2.7.6) #623
  • Improve handling of command line arguments #620
  • idea: fuck-it repeatedly until command works #614
  • allow for a flag that executes immediately #531
  • Please put eval $(thefuck --alias) in your ~/.zshrc. #585