Open
Description
The output of thefuck --version
(something like The Fuck 3.1 using Python 3.5.0 and Bash 4.4.12(1)-release
):
The Fuck 3.32 using Python 3.13.1 and PowerShell 5.1.26100.2161
Your system (Debian 7, ArchLinux, Windows, etc.):
Windows 11 24H2
How to reproduce the bug:
- Install thefuck using
pip install thefuck
notepad.exe $profile
and addiex "$(thefuck --alias)"
(as given by prompt)- run
. $profile
, gives an warning. Not sure why:
C:\Users\Kevin\AppData\Local\Programs\Python\Python313\Lib\site-packages\win_unicode_console\__init__.py:31: RuntimeWarning: sys.stdin.encoding == 'utf-8', whereas sys.stdout.encoding == 'gbk', readline hook consumer may assume they are the same
readline_hook.enable(use_pyreadline=use_pyreadline)
- Deliberately try a typo
PS C:\Users\Kevin> puthon
[Errors out]
PS C:\Users\Kevin> fuck
C:\Users\Kevin\AppData\Local\Programs\Python\Python313\Lib\site-packages\win_unicode_console\__init__.py:31: RuntimeWarning: sys.stdin.encoding == 'utf-8', whereas sys.stdout.encoding == 'gbk', readline hook consumer may assume they are the same
readline_hook.enable(use_pyreadline=use_pyreadline)
No fucks given
The output of The Fuck with THEFUCK_DEBUG=true
exported (typically execute export THEFUCK_DEBUG=true
in your shell before The Fuck):
FILL THIS IN
If the bug only appears with a specific application, the output of that application and its version:
FILL THIS IN
Anything else you think is relevant:
WHY DOES IT HAPPEN?
Metadata
Assignees
Labels
No labels
Activity