Thefuck: No fucks given

Created on 17 Apr 2019  路  7Comments  路  Source: nvbn/thefuck

windows

Most helpful comment

I had the same problem i tried using:

eval "$(thefuck --alias fuck)"

Instead and it seems to run fine now

All 7 comments

I have the same issue. Git bash on windows with the eval line added as well as the env var to prevent the RuntimeError.
image

I had the same problem i tried using:

eval "$(thefuck --alias fuck)"

Instead and it seems to run fine now

I had the same problem i tried using:

eval "$(thefuck --alias fuck)"

Instead and it seems to run fine now

Works for me as well 馃憤

I think I know what may be wrong. I need your help to confirm. Being on Git Bash, what's the output of python -c "import os; print(os.environ.get('PATH', '').split(':'))"? Thanks in advance.

Yeah, just as I suspected. On Windows paths are split by ; instead of :. Thanks, @PhoenixDiscord! Fix will soon be on its way.

I had the same problem i tried using:

eval "$(thefuck --alias fuck)"

Instead and it seems to run fine now

It also doesn't work for me.... Has it resolved yet? @scorphus

image
add your need rules, such as 'python_command' it will work well.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

whereistejas picture whereistejas  路  4Comments

pizzathief picture pizzathief  路  6Comments

griffinqiu picture griffinqiu  路  4Comments

agross picture agross  路  5Comments

shelbyKiraM picture shelbyKiraM  路  5Comments