#1329: Add support for Windows CMD and easier setup for Powershell

* feat: Added nicer support for Windows CMD & Powershell

* Fix  typo

* Fix CMD console color after thefuck Ctrl-C

* Update setup.py

Co-authored-by: Pablo Aguiar <scorphus@gmail.com>

* Update setup.py

Co-authored-by: Pablo Aguiar <scorphus@gmail.com>

* Addressed PR comments

* fix spacing and newline issues

---------

Co-authored-by: Pablo Aguiar <scorphus@gmail.com>
This commit is contained in:
Gerardo Grignoli
2023-07-10 10:09:27 -03:00
committed by GitHub
parent 0420442e77
commit 3cd187a3bb
3 changed files with 37 additions and 3 deletions
+2
View File
@@ -0,0 +1,2 @@
@set PYTHONIOENCODING=utf-8
@powershell -noprofile -c "cmd /c \"$(thefuck %* $(doskey /history)[-2])\"; [Console]::ResetColor();"