Live data from Hacker News

The Fuck – An app which corrects your previous console command

github.com

81–90 of 112 posts

Re: The Fuck – An app which corrects your previous console command

#82
post #78

Earlier quoted context omitted.

Lets see in order to use "fuck" I need to first install it and its dependencies. The caret substitution natively exists in the Bash shell. Also I know that no matter what system I am on be it OS X or Linux the caret syntax is guaranteed to work. I don't understand how you think anything can be easier than using the functionality that has existed in the Bash shell shell(or even C shell variants)since forever.

If that were how things worked, we'd never use any new technology. Obviously it is easier to pay a one-time up-front cost than to slog away inefficiently forever.

>"If that were how things worked, we'd never use any new technology"

Nice try. That's a straw man. This isn't new technology. Its simply replicating existing functionality.

>"Obviously it is easier to pay a one-time up-front cost than to slog away inefficiently forever"

Whats the average typo 1 character as in most of the demos for "Fuck"? So I can either type 2 carets and 4 letters for a total of 6 characters or I can type the 4 characters in the word "fuck", how is the former inefficient? Wow, what a slog. I can't imagine what I will do with all the time I will have left over after installing this"

Re: The Fuck – An app which corrects your previous console command

#84

Now do ffmpeg! (Seriously I would pay for autocomplete ffmpeg cmd line options)

It can't help with autocomplete, but I guses 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

Re: The Fuck – An app which corrects your previous console command

#85
post #51

Earlier quoted context omitted.

Add this to gitconfig file. It will automatically run the correct command after displaying what it is after a delay. The value is in 0.1s (centiseconds) of seconds. So 20 means 2 seconds. [help] autocorrect = 20 OR run git config --global help.autocorrect 20

Wow, great tip, thanks. One command down, hundreds to go.

I once set up a schedule where I would open the gitconfig manpage and read at least one section of the settings. My gitconfig file growed to over 200 lines then.

Quite a lot of stuff isn't very helpful in there though.

Re: The Fuck – An app which corrects your previous console command

#86
post #72
post #51

Earlier quoted context omitted.

Add this to gitconfig file. It will automatically run the correct command after displaying what it is after a delay. The value is in 0.1s (centiseconds) of seconds. So 20 means 2 seconds. [help] autocorrect = 20 OR run git config --global help.autocorrect 20

Wouldn't those be deciseconds? Also wtf unit. Use Millis or seconds as a float. Yay Linus making sure that git only makes sense to wizards like him.

I don't know. I'm confused as is. I really hate when people break:

1. Conventional units.

2. Don't follow the XDG basedir spec for config files.

3. Make inconsistent command line flags.

4. Don't allow control of color output using a flag thinking they are smarter than me.

Re: The Fuck – An app which corrects your previous console command

#87
post #78

Earlier quoted context omitted.

If that were how things worked, we'd never use any new technology. Obviously it is easier to pay a one-time up-front cost than to slog away inefficiently forever.

>"If that were how things worked, we'd never use any new technology" Nice try. That's a straw man. This isn't new technology. Its simply replicating existing functionality. >"Obviously it is easier to pay a one-time up-front cost than to slog away inefficiently forever" Whats the average typo 1 character as in most of the demos for "Fuck"? So I can either type 2 carets and 4 letters for a total of 6 characters or I c…

[deleted]

Re: The Fuck – An app which corrects your previous console command

#88
post #78

Earlier quoted context omitted.

If that were how things worked, we'd never use any new technology. Obviously it is easier to pay a one-time up-front cost than to slog away inefficiently forever.

>"If that were how things worked, we'd never use any new technology" Nice try. That's a straw man. This isn't new technology. Its simply replicating existing functionality. >"Obviously it is easier to pay a one-time up-front cost than to slog away inefficiently forever" Whats the average typo 1 character as in most of the demos for "Fuck"? So I can either type 2 carets and 4 letters for a total of 6 characters or I c…

[deleted]
Post reply on HN