Awesome
poshx-git
This is a customized fork of the great powershell extension posh-git to match the brighter powershell prompt achieved with PoshX.
Note
I am not the creator of the extension itself, this repository was forked from posh-git, renamed to match the name of PoshX and slightly modified to customize the colors to match the look of PoshX.
Installation
-
Clone this repository locally. Know the local path, you'll need it for step 3.
-
Head over to the PowerShell profile folder:
default:
C:\Users\{USERNAME}\Documents\WindowsPowerShell
If there's no profile file yet, simply create a ps1-file into that folder named
Microsoft.PowerShell_profile.ps1
.If there's already a profile file, continue with the next step.
-
Add the following line to the ps1-file:
Import-Module "{PATH-TO-REPO}\src\posh-git.psd1"
poshx-git will now load with new powershell windows.
Uninstall
Simply remove the inserted line again.
Based on work by:
- Keith Dahlby, http://solutionizing.net/
- Mark Embling, http://www.markembling.info/
- Jeremy Skinner, http://www.jeremyskinner.co.uk/