{"full_name":"nvbn/thefuck","owner":"nvbn","name":"thefuck","url":"https://github.com/nvbn/thefuck","description":"Magnificent app which corrects your previous console command.","homepage":"","topics":[],"language":"Python","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/1114542?v=4","created_at":"2015-04-08T15:08:04Z","pushed_at":"2024-07-19T14:56:13Z","metrics":{"stars":97946,"forks":3977,"watchers":806,"issues":799,"prs":782,"releases":17,"issues_open":null,"issues_closed":null,"prs_open":null,"prs_closed":null,"prs_merged":null,"discussions":0},"growth":{"day":{"stars":-2,"forks":0,"base_day":"2026-11-09"}},"history":{"dates":["2026-11-09","2026-11-10"],"stars":[97948,97946],"forks":[3977,3977],"watchers":[806,806],"issues_open":[null,null],"prs_open":[null,null]},"boards":{"total":152},"same_owner":[],"issues":[{"number":685,"title":"Drop Python 2 support","comments":38,"created_at":"2017-08-28T01:28:21Z"},{"number":1466,"title":"The repo is dead","comments":29,"created_at":"2024-09-08T11:12:54Z"},{"number":1457,"title":"Cannot install on Ubuntu 24.04 LTS Noble Numbat","comments":24,"created_at":"2024-08-15T18:13:36Z"},{"number":302,"title":"How to install it on Windows?","comments":24,"created_at":"2015-07-21T10:14:20Z"},{"number":1112,"title":"[Bug] Key error when running thefuck on termux","comments":23,"created_at":"2020-07-13T14:01:55Z"},{"number":1449,"title":"Having a hard time getting set up on Ubuntu 24.04","comments":20,"created_at":"2024-05-22T19:03:56Z"},{"number":1257,"title":"Different rule found when using fish vs bash/zsh","comments":19,"created_at":"2022-01-02T17:26:12Z"},{"number":1254,"title":"Alias for nushell","comments":18,"created_at":"2021-12-27T11:20:15Z"}],"discussions":[],"latest_release":{"name":"","tag":"3.32","published_at":"2022-01-02T22:17:40Z","body":"- Addition of new rules\r\n  - #942: Add new git_branch_0v_to_dash_v rule\r\n  - #1210: Add rule 'rails_migrations_pending'\r\n  - #1131: Add rule for Git commit with no added files\r\n  - #1184: Add new rule for main / master Git branches\r\n  - #977: Add `wrong_hyphen_before_subcommand` rule\r\n- Improvements to existing rules\r\n  - #1039: Remove all leading $ not just one\r\n  - #1123: Update composer_not_command rule (#1135)\r\n  - #942: Improve git_branch_0flag rule - with a new name\r\n  - #1131: Improve git_commit_add rule\r\n  - #1184: Improve + fix `git_main_master` rule\r\n  - #894: Combine commands with shell.and\\_ in docker_login rule\r\n  - #618: Fix git_push_without_commits rule\r\n  - #933: Correctly redefine the function with a cache\r\n  - #579: Ignore commands of len 1 in missing_space_before_subcommand\r\n  - #1227: Make `git_support` support output-independent rules\r\n- Improvements to documentation and development experience\r\n  - Fix git_hook_bypass priority (#1207)\r\n  - #1164: Optimize GIFs with ImgBot\r\n  - #N/A: Fix grammar and spelling errors (#1193)\r\n  - #455: [README] Add uninstall instructions (#1171)\r\n  - #1150: Update the name of macOS on README\r\n  - #1109: Fix a typo on a comment\r\n  - #1184: Add devcontainer for easy Python development\r\n  - #1184: Configure devcontainer shell with recommended way\r\n  - #868: Fix outdated link to homebrew for Linux (#1226)\r\n  - #1233: Use `--user` with pip, not `sudo pip`\r\n- Bug fixes\r\n  - Avoid using pkg_resources\r\n  - #N/A: Fix yield_fixture deprecation (#1211)\r\n  - #1133: Match commands with path prefixes in @for_app decorations\r\n  - #1215: Remove redirection to stderr with the ^ character\r\n  - #1215: Initiate settings before printing the alias\r\n  - #N/A: Replace only exact words when expanding a Git alias\r\n  - #994: Replace decoding errors with the replacement marker\r\n  - #1188: Remove only leading whitespace chars from script\r\n  - #697: Encode expanded script on Python 2\r\n  - #1250: Encapsulate force_command in \\_get_raw_command\r\n"},"readme":true,"readme_zh":false,"news":[{"title":"The Fuck – Correct your previous console command","url":"https://github.com/nvbn/thefuck","hn":"https://news.ycombinator.com/item?id=9396116","source":"Hacker News","lang":"en","date":"2015-04-17","points":438,"comments":165},{"title":"The Fuck – An app which corrects your previous console command","url":"https://github.com/nvbn/thefuck","hn":"https://news.ycombinator.com/item?id=14133647","source":"Hacker News","lang":"en","date":"2017-04-17","points":287,"comments":103},{"title":"Thefuck – Corrects your previous console command","url":"https://github.com/nvbn/thefuck","hn":"https://news.ycombinator.com/item?id=18249686","source":"Hacker News","lang":"en","date":"2018-10-18","points":112,"comments":61},{"title":"Thefuck: Magnificent app which corrects your previous console command","url":"https://github.com/nvbn/thefuck","hn":"https://news.ycombinator.com/item?id=30722254","source":"Hacker News","lang":"en","date":"2022-03-18","points":42,"comments":18},{"title":"告别Git命令失误：TheFuck Git规则系统让你不再说\"操\"","url":"https://blog.csdn.net/gitblog_00912/article/details/150616247","source":"blog.csdn","lang":"zh","date":"2025-09-13"},{"title":"thefuck 安装与使用】Linux 终端自动纠错工具：一头GitHub上的“草泥马“ - thefuck，妈妈再也不用担心我打错命令行了！","url":"https://blog.csdn.net/Thmos_vader/article/details/144668524","source":"blog.csdn","lang":"zh","date":"2024-12-23"},{"title":"Python里奇葩的库！ Thefuck 让你的命令行错误瞬间“翻车”变“加速”！","url":"https://www.sohu.com/a/754344390_121124359","source":"搜狐","lang":"zh","date":"2024-01-26"},{"title":"自从用上命令行神器「thefuck」, 再也不用担心我敲错命令了","url":"https://www.sohu.com/a/274225171_671965","source":"搜狐","lang":"zh","date":"2018-11-08"}],"stale":false,"snapshot_at":"2026-11-10T09:35:25Z","history_start":"2026-09-06"}