- Install Ps-Get:
(new-object Net.WebClient).DownloadString("http://psget.net/GetPsGet.ps1") | iex
- Install posh-git:
Install-Module posh-git
- Edit or create
%userprofile%/Documents/WindowsPowerShell/Microsoft.PowerShell_profile.ps1
:
$console = $host.UI.RawUI
$console.BackgroundColor = "Black"
# Load posh-git example profile
. 'C:\Users\grayd\Documents\WindowsPowerShell\Modules\posh-git\profile.example.ps1'
Clear-Host
- Change some of the colors in
C:\Users\grayd\Documents\WindowsPowerShell\Modules\posh-git\GitPrompt.ps1
from the light ones to the dark ones, to taste