Comments (10)
I have also met this problem when using iterm2 and zsh on Mac.
from thefuck.
Add alias in .zshrc; works for me:
alias fuck='$(thefuck $(fc -ln -1 | tail -n 1)); fc -R'
from thefuck.
Are you type fuck after that command?
$ fuck
from thefuck.
Yes. It says:
▶ fuck
No fuck given
from thefuck.
I'm also use zsh but It work OK.
from thefuck.
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.
What os are you using?
Also, is:
git brnch
fuck
working?
from thefuck.
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.
Is it repeats with 1.23+?
from thefuck.
works now for me!
from thefuck.
Related Issues (20)
- subprocess.run does not work inside side_effect
- ModuleNotFoundError: No module named 'imp' (python 3.12.0) HOT 3
- Not fully compatible with python 3.12.0 yet. HOT 1
- [Suggestion] Correct pip remove, delete to uninstall
- How about adding a typo correction rule related to 'nvm'?
- Request for adding Pull Request Template
- I can't run thefuck on powershell HOT 1
- Unhandled `apt` "Packages were downgraded and -y was used without --allow-downgrades" error
- Support for Windows CMD HOT 4
- /.zshrc:1: command not found: thefuck HOT 3
- Shell slow to start with `eval "$(thefuck --alias)"`, workaround is a lazy loading trick HOT 1
- Fuck command does not work on Alacritty (Mint) HOT 1
- When using Windows Terminal to ssh to a remote server with Zsh/OMZ/powerlevel10k, and instant mode in ~/.zshrc, sometimes crash on start up.
- Help for installing on windows HOT 4
- ModuleNotFoundError: No module named 'imp' when running 'fuck' HOT 10
- Error in building development container
- Feature Request: Instant-Interactive Mode + Zoxide with FZF HOT 1
- Compatibility with pytest 8
- apt command completion error
- Alternative Exit sequence?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thefuck.