Created
January 15, 2018 12:26
-
-
Save DmitriyRF/4bf3869b1f49621b79db319676ece9fd to your computer and use it in GitHub Desktop.
PowerShell color sets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Putting these lines into your powershell profile | |
| (a file named profile.ps1 which sits in your Documents\WindowsPowerShell\ folder | |
| (you may have to create that folder) will remove most of the unreadable colors: | |
| Set-PSReadlineOption -TokenKind comment -ForegroundColor white | |
| Set-PSReadlineOption -TokenKind none -ForegroundColor white | |
| Set-PSReadlineOption -TokenKind command -ForegroundColor white | |
| Set-PSReadlineOption -TokenKind parameter -ForegroundColor white | |
| Set-PSReadlineOption -TokenKind variable -ForegroundColor white | |
| Set-PSReadlineOption -TokenKind type -ForegroundColor white | |
| Set-PSReadlineOption -TokenKind number -ForegroundColor white | |
| Set-PSReadlineOption -TokenKind string -ForegroundColor white | |
| Set-PSReadlineOption -TokenKind operator -ForegroundColor white | |
| Set-PSReadlineOption -TokenKind member -ForegroundColor white | |
| And if you have never done it before, you'll need just once to type this in PowerShell: | |
| Set-ExecutionPolicy RemoteSigned |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment