After the brew installation, when I add the line
```eval "$(thefuck --alias)"
eval "$(thefuck --alias FUCK)"```
in my .bash_profile
I only receive
-bash: --alias: command not found
I have installed it with brew on a mac (obviously)
What exactly you've put into .bash_profile? Try just:
eval $(thefuck --alias FUCK)
I'm having the same issue. Brew install eval $(thefuck --alias FUCK) is all I put in my zshrc.
It could be all the gunk I've got in my zsh files causing a problem?
What's the best way to test if it's working? Have you had any luck @radjivC
@BenGitsCode have you run source ~/.zsrhc or relaunched the shell after that?
I did that with no luck, but restarting iterm seems to have fixed it.
eval $(thefuck --alias FUCK) in the ~/.zshrc and it's working great!
Most helpful comment
I did that with no luck, but restarting iterm seems to have fixed it.
eval $(thefuck --alias FUCK)in the~/.zshrcand it's working great!