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
20082026
-
this reminded me of this wonderful utility: https://github.com/nvbn/thefuck
comment by drunkonvinyl · 2026-02-17 · in Suicide Linux (2009) -
Funny to see this, I first came across it with https://github.com/nvbn/thefuck
comment by _def · 2024-07-17 · in Show HN: Magic-cli – A copilot for your command line -
…word, which, when invoked, automatically fixes typos in the last run command and reruns it: https://github.com/nvbn/thefuck
comment by Lukas_Skywalker · 2024-04-15 · in Control Linux based distros using hand gestures using OpenCV, GTK, Mediapipe -
It might have one splendidly named thefuck under the hood: https://github.com/nvbn/thefuck
comment by AnthonBerg · 2023-10-05 · in Pkgx – “Run anything” from the creator of brew -
>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 -
…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…
comment by eloff · 2023-04-07 · in Show HN: ChatGDB – GPT-Powered GDB Assistant -
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 -
Other customers also brew-installed: fuck [1] [1]: https://github.com/nvbn/thefuck
comment by informalo · 2022-11-22 · in Extremely Linear Git History -
> 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? -
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 -
…brew, apt, pip and others). You can even enable instant mode if you feel particularly frisky. [0] https://github.com/nvbn/thefuck
comment by nemosaltat · 2022-05-08 · in Ask HN: What tool would you buy to make your life easier? -
…element in a JSON response from a curl command?” This will be a great command alongside “fuck” https://github.com/nvbn/thefuck
comment by Coryodaniel · 2022-03-18 · in Show HN: Oh-heck, a terminal command for when you forget other terminal commands -
…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
comment by robin_reala · 2022-03-18 · in Thefuck: Magnificent app which corrects your previous console command -
…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
comment by imglorp · 2022-03-18 · in Show HN: Oh-heck, a terminal command for when you forget other terminal commands -
…you'd avoid because of its name, or is the single letter change enough to make it safe? [1] https://github.com/nvbn/thefuck
comment by barongrounds · 2021-08-13 · in Unfuck: A utility for deobfuscating Python 2.7 bytecode -
I think “thefuck” handles this case really well: https://github.com/nvbn/thefuck
comment by dijit · 2021-03-28 · in Yank: Yank Terminal Output to Clipboard -
TheFuck https://github.com/nvbn/thefuck “Magnificent app which corrects your previous console command”
comment by iordachej · 2020-10-03 · in Ask HN: What are your favorite command-line applications? -
https://github.com/nvbn/thefuck
comment by reificator · 2020-06-10 · in Ask HN: Which tools have made you a much better programmer? -
You might be interested in https://github.com/nvbn/thefuck
comment by andrethegiant · 2020-06-09 · in Ask HN: Which tools have made you a much better programmer? -
https://github.com/nvbn/thefuck
comment by ThePowerOfFuet · 2020-05-10 · in Scunthorpe Sans – a self-censoring font -
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? -
Reminds me of https://github.com/nvbn/thefuck
comment by philshem · 2019-10-21 · in Show HN: ALL_CAPS => sudo all_caps (Bash) -
for the `mkae` you should really use `thefuck` cli anti-typo tool ;) https://github.com/nvbn/thefuck
comment by gr4viton · 2019-01-14 · in Ask HN: Best things in your bash_profile/aliases? -
You might be looking for this: https://github.com/nvbn/thefuck/blob/master/README.md
comment by benterris · 2019-01-13 · in Ask HN: Best things in your bash_profile/aliases? -
I like that. I'll borrow it, but I'll rename it to 'damn', as 'fuck' it dedicated to https://github.com/nvbn/thefuck .
comment by pvinis · 2019-01-13 · in Ask HN: Best things in your bash_profile/aliases? -
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? -
The Fuck - https://github.com/nvbn/thefuck
comment by hypertexthero · 2018-05-07 · in Ask HN: What are your favorite terminal programs? -
I think you can try this. https://github.com/nvbn/thefuck
comment by oldgun · 2018-03-30 · in Sl: a mirror version of ls -
https://github.com/nvbn/thefuck
comment by web007 · 2018-03-30 · in Sl: a mirror version of ls -
…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 -
Even better: https://github.com/nvbn/thefuck
comment by Domenic_S · 2018-01-21 · in More Things I Wish I’d Known About Bash -
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) -
…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 -
…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 -
…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 -
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 -
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 -
Try The Fuck: https://github.com/nvbn/thefuck/blob/master/README.md
comment by Aaargh20318 · 2017-09-26 · in Git git git git git -
AKA https://github.com/nvbn/thefuck
comment by web007 · 2017-09-26 · in Git git git git git -
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 -
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]
comment by sonofgod · 2017-05-23 · in Ask HN: Good examples of interactive command-line user experience? -
…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
comment by nvbn · 2017-04-18 · in The Fuck – An app which corrects your previous console command -
Sounds exactly like this: https://github.com/nvbn/thefuck
comment by Cpoll · 2016-11-15 · in Show HN: My friend misspelled “which” command, so I created this script for him -
thefuck - https://github.com/nvbn/thefuck I just use it every day and I guess a lot of people too.
comment by nvbn · 2016-11-15 · in Ask HN: What simple tools or products are you most proud of making? -
…'|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…
comment by mst · 2016-10-29 · in Robert Elder Software Linux Operating System -
It's even cooler now! https://github.com/nvbn/thefuck
comment by throwanem · 2016-09-06 · in NoFAQ – A tool that corrects your console commands -
…`fskc`. A similar utility that actually helps is thefuck [1]. [0] https://github.com/mtoyoda/sl [1] https://github.com/nvbn/thefuck
comment by 0xmohit · 2016-09-06 · in NoFAQ – A tool that corrects your console commands -
You might enjoy https://github.com/nvbn/thefuck
comment by sullyj3 · 2016-06-12 · in Bash aliases for Harry Potter enthusiasts -
…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 -
Oh no, what would happen to https://github.com/nvbn/thefuck ?
comment by zkanda · 2015-07-29 · in GitHub threatens to shut down a repository for using the word 'retard'