Home

Awesome

poshx-git

This is a customized fork of the great powershell extension posh-git to match the brighter powershell prompt achieved with PoshX.

Screenshot

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

  1. Clone this repository locally. Know the local path, you'll need it for step 3.

  2. 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.

  3. 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: