51
ajit555
6y

Now, instead of shouting, I can just type "fuck"

The Fuck is a magnificent app that corrects errors in previous console commands.

inspired by a @liamosaur tweet
https://twitter.com/liamosaur/...

Some gems:

➜ 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 (/var/lib/dpkg/), are you root?

➜ fuck
sudo apt-get install vim [enter/↑/↓/ctrl+c]
[sudo] password for nvbn:
Reading package lists... Done
...
➜ git push
fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use

git push --set-upstream origin master

➜ fuck
git push --set-upstream origin master [enter/↑/↓/ctrl+c]
Counting objects: 9, done.
...
➜ puthon
No command 'puthon' found, did you mean:
Command 'python' from package 'python-minimal' (main)
Command 'python' from package 'python3' (main)
zsh: command not found: puthon

➜ fuck
python [enter/↑/↓/ctrl+c]
Python 3.4.2 (default, Oct 8 2014, 13:08:17)
...
➜ git brnch
git: 'brnch' is not a git command. See 'git --help'.

Did you mean this?
branch

➜ fuck
git branch [enter/↑/↓/ctrl+c]
* master
➜ lein rpl
'rpl' is not a task. See 'lein help'.

Did you mean this?
repl

➜ fuck
lein repl [enter/↑/↓/ctrl+c]
nREPL server started on port 54848 on host 127.0.0.1 - nrepl://127.0.0.1:54848
REPL-y 0.3.1
...

Get fuckked at
https://github.com/nvbn/thefuck

Comments
  • 3
    TheFuck is indeed a useful tool.
  • 3
    That should have named it "dafuq."
  • 0
    Omg this is so hilarious 😂😂 I must install this asap 😁
  • 2
    absolutely installing this

    alias "the fuck"="fuck"
    alias wat="fuck"
    alias kys="fuck"
    alias "why the fuck do you ways do this to me goddammit"="fuck"
    alias FUCK="fuck"
  • 0
    This is frikkin' amazing! Hope no one at work will mind the vulgarity 😁
  • 1
    @Parzi I definitely need a
    `alias f=fuck`
  • 3
    @Parzi Would "wat the fuck" then get converted to "fuck fuck"?
  • 0
    Loved it, I'm already spreading the word.
  • 1
  • 0
    @iamavalos you did not get it.
    Dude, you can type fuck and it will try to find the command you were trying to run
Add Comment