Skip to content
Discussion options

You must be logged in to vote

I'll summarize it for me to do it faster next time.

  1. Make sure your C:\Users\<user>\Documents\PowerShell\Microsoft.PowerShell_profile.ps1 profile contains a line like oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH/unicorn.omp.json" | Invoke-Expression
  2. Use code $env:POSH_THEMES_PATH/unicorn.omp.json to open the file VS code (or any other editor)
  3. Modify the file as follows:
    {
      "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
    + "pwd": "osc99",
      "blocks": [
        {
          "alignment": "left",
        ...

See also

Replies: 5 comments 8 replies

Comment options

You must be logged in to vote
3 replies
@eglavin
Comment options

@JanDeDobbeleer
Comment options

@eglavin
Comment options

Comment options

You must be logged in to vote
3 replies
@JanDeDobbeleer
Comment options

@pranavpa8788
Comment options

@JanDeDobbeleer
Comment options

Comment options

You must be logged in to vote
1 reply
@jloa
Comment options

Answer selected by JanDeDobbeleer
Comment options

You must be logged in to vote
1 reply
@aleksmark98
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
9 participants