PowerShell is UGLY and cumbersome by default. This Guide fixes that!
The End Result:
With all my guides here is the one line script to install “most” of the needed fixes. I’d recommend running it from an admin elevated prompt for installation of OhMyPosh.
irm "https://github.com/ChrisTitusTech/powershell-profile/raw/main/setup.ps1" | iex
The first thing that needs to be fixed is installing the correct font. Here are screenshots from both Windows 11 using Terminal and Windows 10 using Conhost. After running the above script, you will unzip the
cove.zip file from the directory the command above was run from and install those nerd fonts. If you want to download other nerd fonts, go to: https://www.nerdfonts.com/
In the screenshot below you will see the stock font select and the missing icons. Selecting CaskaydiaCove above Consolas and saving will fix it.
The defaults are clunky and take too long to type in even when using shorthand. Linux does this better, so lets bring in that syntax to fix it with Aliases in our PowerShell profile.
Every time I'm in Windows PowerShell I can't help but think that the Microsoft Devs were on some heavy drugs when setting commands.— Chris Titus Tech (@christitustech) October 16, 2022
I'm going to fix that. pic.twitter.com/AVaOCoVyOT
Here are the following added aliases for quality of life