Live data from Hacker News

The Fuck – Correct your previous console command

github.com

11–20 of 173 posts

Re: The Fuck – Correct your previous console command

#14
Git already has a config to do this:

  help.autocorrect

  Automatically correct and execute mistyped commands after waiting for the given number of  deciseconds (0.1 sec). 

  If more than one command can be deduced from the entered text, nothing will be executed. If the value of this option is negative, the corrected command will be executed immediately.

  If the value is 0 - the command will be just shown but not executed. This is the default.
http://git-scm.com/docs/git-config

Re: The Fuck – Correct your previous console command

#17
post #5
post #2

[deleted]

While I agree with what I take to be your overall point, what would have been lost had you replaced your comment with the following, which does not assume anything about the poster's motivation? The utility is actually called "The Fuck", with no asterisk. Please respect creators by not bowdlerizing the names they have chosen.

True. As the title has been updated and your version is better, I'm deleting my original comment.

Re: The Fuck – Correct your previous console command

#18

I think it's a funny little app. I could see it being kind of useful for the author but I think I would personally have trouble using an app that I don't actually know what it's going to do 100%. I think that you could mitigate this a bit by putting the list of commands it corrects right at the top of the readme. I think most of us have probably been at the point where we were typing something like "I hate you, you g…

'I could see it being kind of useful for the author...'

That was my impression. It reminded me of little custom scripts or functions I've created that help with my day to day work, things I wouldn't necessarily give to someone because they were built with myself in mind. I know how they work and exactly what they do.

Post reply on HN