Open JieJiaoDeMao-wjz opened 1 year ago
It seems to be telling you to put the powershell command iex "$(thefuck --alias)"
into your powershell profile.
If you use powershell, that's probably a good idea. Google how to do it, because all I know about powershell profiles is that they exist.
If you don't want to use powershell, you could use git bash, which allows you to use bash on windows, without any kind of virtualization. With that, you could put eval $(thefuck --alias)
into a .bashrc
file in your home directory, just as you would on linux. (see the readme)
If you otherwise really want to use standard command prompt, you may be able to do some hacky workaround with batch files, but I don't even know where to start on that.
It worked! Thanks for your help. :)
At 2023-11-04 15:08:08, "Aworldc" @.***> wrote:
it seems to be telling you to put the powershell command iex "$(thefuck --alias)" into your powershell profile.
if you use powershell, that's probably a good idea. google how to do it because all i know about powershell profiles is they exist.
if you don't want to use powershell, you could use git bash, which allows you to use bash on windows, without any kind of virtualization. then you could put eval $(thefuck --alias) into a .bashrc file in your home directory, just as you would on linux. (see the readme)
If you otherwise really want to use standard command prompt, you may be able to do some hacky workaround with batch files.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
I'm using Windows 11 Professional Edition. Recently, I installed thefuck module in the command line:
pip install thefuck
And then I ran this command:fuck
And the output is: