Live data from Hacker News

The Fuck – An app which corrects your previous console command

github.com

11–20 of 112 posts

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

#15

Every day: $ git pish $ fuck

For those who don't know, you can make git pish have the same effect as git push by creating an alias between pish and push. Useful to do for any misspellings you make more than once.

$ git config --global alias.pish push

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

#16

[~user/]$ rm -rf / rm: it is dangerous to operate recursively on `/' rm: use --no-preserve-root to override this failsafe [~user/]$ fuck sudo rm -rf --no-preserve-root / fuck!

That was my first thought, although it looks like they were responsible enough to make you hit return to confirm that you want to run the command

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

#18

[~user/]$ rm -rf / rm: it is dangerous to operate recursively on `/' rm: use --no-preserve-root to override this failsafe [~user/]$ fuck sudo rm -rf --no-preserve-root / fuck!

Rule for this behavior disabled by default, but you can enable it. Also you can disable confirmation or use `fuck -y` for more fun.

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

#19
post #18

[~user/]$ rm -rf / rm: it is dangerous to operate recursively on `/' rm: use --no-preserve-root to override this failsafe [~user/]$ fuck sudo rm -rf --no-preserve-root / fuck!

Rule for this behavior disabled by default, but you can enable it. Also you can disable confirmation or use `fuck -y` for more fun.

I feel like they missed an opportunity to use 'fuck yeah' as the automatic override.

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

#20

Every day: $ git pish $ fuck

For those who don't know, you can make git pish have the same effect as git push by creating an alias between pish and push. Useful to do for any misspellings you make more than once. $ git config --global alias.pish push

Cannot for the life of me tell if this is a serious suggestion.
Post reply on HN