-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
Description
The output of thefuck --version:
The Fuck 3.25 using Python 3.6.4
Your shell and its version:
PowerShell v5.1.16299.98
Your system:
Windows 10 (1709)
How to reproduce the bug:
Using any fuck command in PowerShell messes up the colors. See image. Calling thefuck is fine

These are my debug settings:
DEBUG: Run with settings: {'alter_history': True,
'debug': True,
'env': {'GIT_TRACE': '1', 'LANG': 'C', 'LC_ALL': 'C'},
'exclude_rules': [],
'history_limit': None,
'instant_mode': False,
'no_colors': False,
'priority': {},
'repeat': False,
'require_confirmation': True,
'rules': [<const: All rules enabled>],
'slow_commands': ['lein', 'react-native', 'gradle', './gradlew', 'vagrant'],
'user_dir': WindowsPath('C:/Users/hugod/.config/thefuck'),
'wait_command': 3,
'wait_slow_command': 15}
And I have set $env:PYTHONIOENCODING = "utf-8" in my $PROFILE
Happens in both ConEmu, Windows console host and in Administrator sessions of both. Hope this is enough information for a start