Skip to content

Instantly share code, notes, and snippets.

@aessing
Last active May 26, 2021 20:48
Show Gist options
  • Save aessing/39e7e5dd1c98cc09164080ece72dc07b to your computer and use it in GitHub Desktop.
Save aessing/39e7e5dd1c98cc09164080ece72dc07b to your computer and use it in GitHub Desktop.
Install OhMyPoshV3 on top of PowerShell
# =============================================================================
# Install Oh My Posh v3
# -----------------------------------------------------------------------------
# Developer.......: Andre Essing (https://www.andre-essing.de/)
# (https://github.com/aessing)
# (https://twitter.com/aessing)
# (https://www.linkedin.com/in/aessing/)
# -----------------------------------------------------------------------------
# THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
# EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
# =============================================================================
# Install PowerShell Module
Install-Module oh-my-posh -Scope CurrentUser
# Have a look at availabe themes
#Get-PoshThemes
# Set theme
Set-PoshPrompt -Theme jandedobbeleer
# Configure theme
Export-PoshTheme -FilePath ~/.mytheme.omp.json -Format json
Set-PoshPrompt -Theme ~/.mytheme.omp.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment