All Projects → pecigonzalo → Oh My Posh

pecigonzalo / Oh My Posh

Licence: agpl-3.0
Powershell amazingness inspired on Oh-My-Zsh, pshazz, fish. This provides a repository for PowerShell Customizations

Programming Languages

powershell
5483 projects

Oh-My-Posh

Join the chat at https://gitter.im/pecigonzalo/Oh-My-Posh

After getting tired of maintaining my PowerShell profile, I decided to split the components and improve it, as I already use Oh-My-Zsh I thought it would be a good idea to have something similar for PowerShell.

Please feel free to submit issues/pull requests/questions/feature requests.

Installation Instructions

Requires:

  • Git
  • PowerShell 5 (might work with 4 but it's not tested)

Run:

iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/pecigonzalo/Oh-My-Posh/master/install.ps1'))

Note: If running this command throws an error like PowerShell_profile.ps1 cannot be loaded because running scripts is disabled on this system.

You may need to enable PS Execution Policy, which you can do by running Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

Add the following line to your PowerShell profile:

Import-Module "Oh-My-Posh" -DisableNameChecking -NoClobber

Now reload your Powershell profile

Alternative Installation (local installation): Download and extract or clone the repository into a folder e.g. C:\TEMP Open a Powershell session and run

cd C:\TEMP
.\install.ps1 -local $true

Configuration

Configuration parameters are found under

$HOME/.oh-my-posh.config.ps1

Open it with your preferred editor and change as you want, keep in mind some functionality is still WIP but don't hesitate on reporting any issue you have.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].