Code Monkey home page Code Monkey logo

Comments (10)

yyypasserby avatar yyypasserby commented on May 21, 2024 1

I have also met this problem when using iterm2 and zsh on Mac.

from thefuck.

nibres avatar nibres commented on May 21, 2024 1

Add alias in .zshrc; works for me:

alias fuck='$(thefuck $(fc -ln -1 | tail -n 1)); fc -R'

from thefuck.

hoangddt avatar hoangddt commented on May 21, 2024

Are you type fuck after that command?

$ fuck

from thefuck.

RaoHai avatar RaoHai commented on May 21, 2024

Yes. It says:

▶ fuck
No fuck given

from thefuck.

hoangddt avatar hoangddt commented on May 21, 2024

I'm also use zsh but It work OK.
screenshot from 2015-04-20 21 27 11

from thefuck.

kalbasit avatar kalbasit commented on May 21, 2024

Having the same issue

wmn@cratos ~   % alias fuck
fuck='$(thefuck $(fc -ln -1))'
wmn@cratos ~   % vum
zsh: command not found: vum
wmn@cratos ~   % fuck
No fuck given

from thefuck.

nvbn avatar nvbn commented on May 21, 2024

What os are you using?

Also, is:

git brnch
fuck

working?

from thefuck.

kalbasit avatar kalbasit commented on May 21, 2024

I am using Mac

wmn@cratos ~/code/src/github.com/carlhuda/janus [master] ± % uname -a
Darwin cratos.local 14.1.0 Darwin Kernel Version 14.1.0: Thu Feb 26 19:26:47 PST 2015; root:xnu-2782.10.73~1/RELEASE_X86_64 x86_64
wmn@cratos ~/code/src/github.com/carlhuda/janus [master] ± % git --version
git version 2.3.5
wmn@cratos ~/code/src/github.com/carlhuda/janus [master] ± % zsh --version
zsh 5.0.7 (x86_64-apple-darwin13.4.0)
wmn@cratos ~/code/src/github.com/carlhuda/janus [master] ± % which zsh
/usr/local/bin/zsh

For git brnch, it only works if git config --global help.autocorrect is set to 0

wmn@cratos ~/code/src/github.com/carlhuda/janus [master] ± % git config --global help.autocorrect
1
wmn@cratos ~/code/src/github.com/carlhuda/janus [master] ± % git brnch
WARNING: You called a Git command named 'brnch', which does not exist.
Continuing under the assumption that you meant 'branch'
in 0.1 seconds automatically...
* master
wmn@cratos ~/code/src/github.com/carlhuda/janus [master] ± % fuck
No fuck given
wmn@cratos ~/code/src/github.com/carlhuda/janus [master] ± % git config --global help.autocorrect 0
wmn@cratos ~/code/src/github.com/carlhuda/janus [master] ± % git config --global help.autocorrect
0
wmn@cratos ~/code/src/github.com/carlhuda/janus [master] ± % git brnch
git: 'brnch' is not a git command. See 'git --help'.

Did you mean this?
        branch
wmn@cratos ~/code/src/github.com/carlhuda/janus [master] ± % fuck
git branch
* master

from thefuck.

nvbn avatar nvbn commented on May 21, 2024

Is it repeats with 1.23+?

from thefuck.

kalbasit avatar kalbasit commented on May 21, 2024

works now for me!

from thefuck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.