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.

Revisions

  1. aessing revised this gist May 26, 2021. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions install-OhMyPoshV3.ps1
    Original file line number Diff line number Diff line change
    @@ -12,10 +12,10 @@
    # =============================================================================

    # Install PowerShell Module
    Install-Module oh-my-posh -Scope CurrentUser -AllowPrerelease
    Install-Module oh-my-posh -Scope CurrentUser

    # Have a look at availabe themes
    Get-PoshThemes
    #Get-PoshThemes

    # Set theme
    Set-PoshPrompt -Theme jandedobbeleer
  2. aessing revised this gist May 26, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install-OhMyPoshV3.ps1
    Original file line number Diff line number Diff line change
    @@ -21,5 +21,5 @@ Get-PoshThemes
    Set-PoshPrompt -Theme jandedobbeleer

    # Configure theme
    Write-PoshTheme | Out-File -FilePath ~/.mytheme.omp.json -Encoding oem
    Export-PoshTheme -FilePath ~/.mytheme.omp.json -Format json
    Set-PoshPrompt -Theme ~/.mytheme.omp.json
  3. aessing created this gist Dec 27, 2020.
    25 changes: 25 additions & 0 deletions install-OhMyPoshV3.ps1
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    # =============================================================================
    # 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 -AllowPrerelease

    # Have a look at availabe themes
    Get-PoshThemes

    # Set theme
    Set-PoshPrompt -Theme jandedobbeleer

    # Configure theme
    Write-PoshTheme | Out-File -FilePath ~/.mytheme.omp.json -Encoding oem
    Set-PoshPrompt -Theme ~/.mytheme.omp.json