Hacker GitHub

← All repos

nvbn/thefuck

View on GitHub ↗ ★ 97,938 Python

Magnificent app which corrects your previous console command.

73 mentions on Hacker News by 68 people: 19 stories, 54 comments · first 2015-04-17 · latest 2026-02-26

Mentions per year 73 mentions · busiest year 2017 (13)
20082026
  1. ▲ 2
    Show HN: A faster fuck (thefuck CLI rewritten in Rust)
    story by ddyo · 2026-02-26 · 0 comments
  2. this reminded me of this wonderful utility: https://github.com/nvbn/thefuck
    comment by drunkonvinyl · 2026-02-17 · in Suicide Linux (2009)
  3. Funny to see this, I first came across it with https://github.com/nvbn/thefuck
  4. …word, which, when invoked, automatically fixes typos in the last run command and reruns it: https://github.com/nvbn/thefuck
  5. ▲ 3
    Thefuck: Correct errors in previous console commands
    story by loughnane · 2024-04-01 · 0 comments
  6. It might have one splendidly named thefuck under the hood: https://github.com/nvbn/thefuck
  7. ▲ 4
    Thefuck: Correct Your Previous Console Command
    story by fzliu · 2023-06-21 · 1 comment
  8. >spellcheck on commands I prefer to just type "fuck": https://github.com/nvbn/thefuck
    comment by nvy · 2023-05-23 · in How to start a Go project in 2023
  9. ▲ 2
    Show HN: CLI tool to fix command line errors with ChatGPT
    story by 42second · 2023-04-17 · 0 comments
  10. …history to chat gpt and gets a recommendation for the last command that failed. Something like https://github.com/nvbn/thefuck but with some intelligence instead of hard-coded rules. That's somewhat problematic if you have secrets in…
  11. Depending on your temperament, you might prefer https://github.com/nvbn/thefuck $ apt-get install vim E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory…
    comment by sph · 2023-01-20 · in 🥺: the best sudo replacement
  12. Other customers also brew-installed: fuck [1] [1]: https://github.com/nvbn/thefuck
    comment by informalo · 2022-11-22 · in Extremely Linear Git History
  13. > it can't suggest a next command to run based on the output of the previous command thefuck ( https://github.com/nvbn/thefuck#how-it-works ) does exactly that...
    comment by vimda · 2022-11-16 · in Why is the terminal input so weird?
  14. Embrace your habit of mistyping: https://github.com/nvbn/thefuck#readme
    comment by storyinmemo · 2022-07-12 · in SL(1): Cure your bad habit of mistyping
  15. …brew, apt, pip and others). You can even enable instant mode if you feel particularly frisky. [0] https://github.com/nvbn/thefuck
  16. …element in a JSON response from a curl command?” This will be a great command alongside “fuck” https://github.com/nvbn/thefuck
  17. …mode” that might fix that.[1] But not for fish users, which rules it out for me at least. [1] https://github.com/nvbn/thefuck#experimental-instant-mode
  18. ▲ 42
    Thefuck: Magnificent app which corrects your previous console command
    story by thunderbong · 2022-03-18 · 18 comments
  19. …up a mistake after you type it. Like this one, it's also named like what you might say afterwards. https://github.com/nvbn/thefuck
  20. ▲ 2
    TheFuck: Magnificent app which corrects your previous console command
    story by phgn · 2022-01-21 · 0 comments
  21. ▲ 2
    The Fuck: Corrects errors in previous console commands
    story by njsubedi · 2021-12-18 · 0 comments
  22. ▲ 1
    Magnificent app which corrects your previous console command
    story by askl · 2021-12-07 · 0 comments
  23. …you'd avoid because of its name, or is the single letter change enough to make it safe? [1] https://github.com/nvbn/thefuck
  24. I think “thefuck” handles this case really well: https://github.com/nvbn/thefuck
  25. ▲ 1
    The Fuck: Correct errors in previous console commands
    story by crazypython · 2021-02-22 · 0 comments
  26. ▲ 2
    The Fuck is an app that corrects errors in previous console commands
    story by BRedSox · 2020-11-09 · 0 comments
  27. ▲ 1
    The Fuck is an app that corrects errors in previous console commands
    story by BRedSox · 2020-11-09 · 0 comments
  28. TheFuck https://github.com/nvbn/thefuck “Magnificent app which corrects your previous console command”
  29. https://github.com/nvbn/thefuck
  30. You might be interested in https://github.com/nvbn/thefuck
  31. https://github.com/nvbn/thefuck
    comment by ThePowerOfFuet · 2020-05-10 · in Scunthorpe Sans – a self-censoring font
  32. https://github.com/clvv/fasd https://github.com/nvbn/thefuck
    comment by mikeomoto · 2020-04-13 · in Ask HN: Programs that saved you 100 hours?
  33. ▲ 4
    Thefuck: Magnificent app which corrects your previous console command
    story by gilad · 2020-02-25 · 3 comments
  34. Reminds me of https://github.com/nvbn/thefuck
    comment by philshem · 2019-10-21 · in Show HN: ALL_CAPS => sudo all_caps (Bash)
  35. for the `mkae` you should really use `thefuck` cli anti-typo tool ;) https://github.com/nvbn/thefuck
  36. You might be looking for this: https://github.com/nvbn/thefuck/blob/master/README.md
  37. I like that. I'll borrow it, but I'll rename it to 'damn', as 'fuck' it dedicated to https://github.com/nvbn/thefuck .
  38. The Fuck — https://github.com/nvbn/thefuck Magnificent app which corrects your previous console command
    comment by arsalanb · 2018-11-19 · in Ask HN: Best Command-Line Applications?
  39. ▲ 112
    Thefuck – Corrects your previous console command
    story by BerislavLopac · 2018-10-18 · 61 comments
  40. The Fuck - https://github.com/nvbn/thefuck
    comment by hypertexthero · 2018-05-07 · in Ask HN: What are your favorite terminal programs?
  41. I think you can try this. https://github.com/nvbn/thefuck
    comment by oldgun · 2018-03-30 · in Sl: a mirror version of ls
  42. https://github.com/nvbn/thefuck
    comment by web007 · 2018-03-30 · in Sl: a mirror version of ls
  43. …have frequently cursed the inconvenience of having to log into gmail. [0] why damn? Fuck was taken: https://github.com/nvbn/thefuck
    comment by odammit · 2018-02-23 · in Finding Pwned Passwords with 1Password
  44. Even better: https://github.com/nvbn/thefuck
    comment by Domenic_S · 2018-01-21 · in More Things I Wish I’d Known About Bash
  45. Can't speak to the microwave, but there are examples of this kind of UI such as https://github.com/nvbn/thefuck the trade off is the potential of ambiguity, see https://en.wikipedia.org/wiki/Time_flies_like_an_arrow;_frui... Your microwave…
    comment by joshribakoff · 2017-12-04 · in I Don't Want to Configure Apps (2016)
  46. …their machine unlocked. Not sure if it’s more funny than changing their background to goatse. [1] https://github.com/nvbn/thefuck
    comment by odammit · 2017-10-27 · in Suicide Linux
  47. …nicely organized and easy enough to wrap your head around. Also an easy project to contribute to. https://github.com/nvbn/thefuck
    comment by ben174 · 2017-10-02 · in Interesting Codebases
  48. …ggpull, glog, gp, gc) etc. I also find "thefuck" is interesting but I love to control my fate :) ( https://github.com/nvbn/thefuck )
    comment by isarat · 2017-09-27 · in Git git git git git
  49. It's apparently grown an "instant mode" which goes much faster: https://github.com/nvbn/thefuck/blob/master/README.md#experi...
    comment by masklinn · 2017-09-27 · in Git git git git git
  50. For the latter, https://github.com/nvbn/thefuck is great and pretty satisfying to use. (me earlier this month: https://twitter.com/sailoremo/status/908390247548911617 )
    comment by jmcgough · 2017-09-27 · in Git git git git git