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. this reminded me of this wonderful utility: https://github.com/nvbn/thefuck
    comment by drunkonvinyl · 2026-02-17 · in Suicide Linux (2009)
  2. Funny to see this, I first came across it with https://github.com/nvbn/thefuck
  3. …word, which, when invoked, automatically fixes typos in the last run command and reruns it: https://github.com/nvbn/thefuck
  4. It might have one splendidly named thefuck under the hood: https://github.com/nvbn/thefuck
  5. >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
  6. …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…
  7. 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
  8. Other customers also brew-installed: fuck [1] [1]: https://github.com/nvbn/thefuck
    comment by informalo · 2022-11-22 · in Extremely Linear Git History
  9. > 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?
  10. 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
  11. …brew, apt, pip and others). You can even enable instant mode if you feel particularly frisky. [0] https://github.com/nvbn/thefuck
  12. …element in a JSON response from a curl command?” This will be a great command alongside “fuck” https://github.com/nvbn/thefuck
  13. …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
  14. …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
  15. …you'd avoid because of its name, or is the single letter change enough to make it safe? [1] https://github.com/nvbn/thefuck
  16. I think “thefuck” handles this case really well: https://github.com/nvbn/thefuck
  17. TheFuck https://github.com/nvbn/thefuck “Magnificent app which corrects your previous console command”
  18. https://github.com/nvbn/thefuck
  19. You might be interested in https://github.com/nvbn/thefuck
  20. https://github.com/nvbn/thefuck
    comment by ThePowerOfFuet · 2020-05-10 · in Scunthorpe Sans – a self-censoring font
  21. 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?
  22. Reminds me of https://github.com/nvbn/thefuck
    comment by philshem · 2019-10-21 · in Show HN: ALL_CAPS => sudo all_caps (Bash)
  23. for the `mkae` you should really use `thefuck` cli anti-typo tool ;) https://github.com/nvbn/thefuck
  24. You might be looking for this: https://github.com/nvbn/thefuck/blob/master/README.md
  25. I like that. I'll borrow it, but I'll rename it to 'damn', as 'fuck' it dedicated to https://github.com/nvbn/thefuck .
  26. 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?
  27. The Fuck - https://github.com/nvbn/thefuck
    comment by hypertexthero · 2018-05-07 · in Ask HN: What are your favorite terminal programs?
  28. I think you can try this. https://github.com/nvbn/thefuck
    comment by oldgun · 2018-03-30 · in Sl: a mirror version of ls
  29. https://github.com/nvbn/thefuck
    comment by web007 · 2018-03-30 · in Sl: a mirror version of ls
  30. …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
  31. Even better: https://github.com/nvbn/thefuck
    comment by Domenic_S · 2018-01-21 · in More Things I Wish I’d Known About Bash
  32. 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)
  33. …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
  34. …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
  35. …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
  36. 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
  37. 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
  38. Try The Fuck: https://github.com/nvbn/thefuck/blob/master/README.md
    comment by Aaargh20318 · 2017-09-26 · in Git git git git git
  39. AKA https://github.com/nvbn/thefuck
    comment by web007 · 2017-09-26 · in Git git git git git
  40. I discovered https://github.com/nvbn/thefuck a while ago and now I kind of enjoy making typos like this.
    comment by herrvogel- · 2017-05-24 · in Little Things I Like to Do with Git
  41. It's a terrible idea, but an excellent example of experience: https://github.com/nvbn/thefuck [TL;DR -- typo a command, type 'fuck', will run the command you should have run]
  42. …it would be easy to create a rule for fixing incorrect ffmpeg calls. Create an issue about that in https://github.com/nvbn/thefuck/issues
  43. Sounds exactly like this: https://github.com/nvbn/thefuck
  44. thefuck - https://github.com/nvbn/thefuck I just use it every day and I guess a lot of people too.
  45. …'|foo' still goes into the history, so you could pick it up from there, maybe via a prompt command. https://github.com/nvbn/thefuck seems like kinda-sorta prior art for this. (and if I'm wrong and/or the bash patch just makes things lots…
  46. It's even cooler now! https://github.com/nvbn/thefuck
  47. …`fskc`. A similar utility that actually helps is thefuck [1]. [0] https://github.com/mtoyoda/sl [1] https://github.com/nvbn/thefuck
  48. You might enjoy https://github.com/nvbn/thefuck
    comment by sullyj3 · 2016-06-12 · in Bash aliases for Harry Potter enthusiasts
  49. …this pretty much turns this from a terminal Russian Roulette into a kinda handy autosuggestion! https://github.com/nvbn/thefuck (Previous discussion: https://news.ycombinator.com/item?id=9396116 )
    comment by HCIdivision17 · 2015-08-31 · in Fuckit.py – The Python error steamroller
  50. Oh no, what would happen to https://github.com/nvbn/thefuck ?