A Prompt in Your Colors

PowerShell's prompt is a function named prompt that runs before every command you type, so you can write your own that shows the folder's name, the time and colors from $PSStyle, and keep it in your profile.

Updated

Cheat sheet for the lesson A Prompt in Your Colors: PowerShell's prompt is a function named prompt that runs before every command you type, so you can write your own that shows the folder's name, the time and colors from $PSStyle, and keep it in your profile.
Category
PowerShell
Level
Journeyman
Tags
ansi-escape-code, powershell, prompt, psstyle