Your Setup

Your Setup: Your Profile, Aliases and Small Functions, A Prompt in Your Colors.

Updated

  1. Your Profile (Apprentice): Your profile is a script PowerShell runs every time it starts, at the path in $PROFILE, so the variables, short names and settings you put in it are ready in every window, and dot-sourcing it loads a change into the window you're in.
  2. Aliases and Small Functions (Apprentice): Set-Alias gives a command a short name of your own, and when the job needs a parameter's value or more than one step, a small function does it instead; both go in your profile so they're there in every window.
  3. A Prompt in Your Colors (Journeyman): 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.