The Windows Command Prompt, PowerShell ISE and now simply the Windows app “PowerShell” is hopelessly behind what you can find on a Mac or Linux development machine. The lack of tabs and terrible default color schemes has had many developers crying.
While the Windows Sets/Tabs feature seems to be Missing in Action on all insider builds currently, the best we can hope for in Windows is Groupy and a PowerShell profile.
Groupy for Tabs
I would never run any of the other 3rd party terminals on my machine because I do not trust them, but Groupy caught my eye and I trust it. It lets you setup your windows in groups, which is very similar to tabs.
It has it quirks but I love it for what it is (and since I have no option).
PowerShell profile for darkness
The default powershell window looks terrible. Blue background, white text. Unreadable and hard on the eyes.
Here’s how we fix it:
- Right-click on the PowerShell Window top-bar, and select ‘Properties’
- Click on the ‘Colors’ tab
- Change background color to black
$host.privatedatain your shell to view color variables
- Create new profile file using
New-Item -path $profile -type file -force
- Edit profile with
- Enter the colors you want, e g:
$Host.UI.RawUI.BackgroundColor = 'Black'
$Host.UI.RawUI.ForegroundColor = 'White'
$Host.PrivateData.ErrorForegroundColor = 'DarkRed'
$Host.PrivateData.ErrorBackgroundColor = 'Black'
$Host.PrivateData.WarningForegroundColor = 'Yellow'
$Host.PrivateData.WarningBackgroundColor = 'Black'
$Host.PrivateData.DebugForegroundColor = 'Yellow'
$Host.PrivateData.DebugBackgroundColor = 'Black'
$Host.PrivateData.VerboseForegroundColor = 'Green'
$Host.PrivateData.VerboseBackgroundColor = 'Black'
$Host.PrivateData.ProgressForegroundColor = 'DarkGray'
$Host.PrivateData.ProgressBackgroundColor = 'Black'
Tweak as needed.
IF you really want to get fancy, there’s a group working on nice and sweet Solarized Themes. Give it a try if you dare.