Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pecigonzalo/Oh-My-Posh
Powershell amazingness inspired on Oh-My-Zsh, pshazz, fish. This provides a repository for PowerShell Customizations
https://github.com/pecigonzalo/Oh-My-Posh
Last synced: about 2 months ago
JSON representation
Powershell amazingness inspired on Oh-My-Zsh, pshazz, fish. This provides a repository for PowerShell Customizations
- Host: GitHub
- URL: https://github.com/pecigonzalo/Oh-My-Posh
- Owner: pecigonzalo
- License: agpl-3.0
- Created: 2015-12-03T01:56:04.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-01-10T13:27:38.000Z (over 1 year ago)
- Last Synced: 2024-06-17T21:52:16.582Z (3 months ago)
- Language: PowerShell
- Homepage: http://pecigonzalo.github.io/Oh-My-Posh
- Size: 112 KB
- Stars: 340
- Watchers: 17
- Forks: 34
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Oh-My-Posh
[![Join the chat at https://gitter.im/pecigonzalo/Oh-My-Posh](https://badges.gitter.im/pecigonzalo/Oh-My-Posh.svg)](https://gitter.im/pecigonzalo/Oh-My-Posh?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)After getting tired of maintaining my PowerShell profile, I decided to split the components and improve it, as I already use [Oh-My-Zsh](ohmyz.sh) 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:
```powershell
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:
```powershell
Import-Module "Oh-My-Posh" -DisableNameChecking -NoClobber
```
Now reload your Powershell profileAlternative Installation (local installation):
Download and extract or clone the repository into a folder e.g. ```C:\TEMP```
Open a Powershell session and run
```powershell
cd C:\TEMP
.\install.ps1 -local $true
```# Configuration
Configuration parameters are found under
```powershell
$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
While this project shares the name with https://github.com/jandedobbeleer/oh-my-posh and https://ohmyposh.dev/, they are not the same project.