My PowerShell profile including:
- PSReadLine settings to use the prompt history to make predictions on what you want to see next. You must run the command below on your terminal once.
Install-Module PSReadLine -AllowPrerelease -Force
-
Aliases for the commands I use daily.
-
Custom functions and their aliases.
- Clean Project: Cleans the project folder by removing the bin and obj folders.
- DISM Restore: Restores the Windows image to the default state.
- Clear History: Clears the PowerShell history.
- Set up PSReadline and oh-my-posh, please have a look at Scott Hanselman's great blogpost here.
- Don't forget to replace
<username>
tag on oh-my-posh config.