mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
feat(scoop): add POSH_THEMES_PATH environment variable
This commit is contained in:
parent
bc9f884e9c
commit
7bb927d55c
|
@ -13,6 +13,9 @@
|
|||
}
|
||||
},
|
||||
"env_add_path": "bin",
|
||||
"env_set": {
|
||||
"POSH_THEMES_PATH": "$dir\\themes"
|
||||
},
|
||||
"checkver": {
|
||||
"github": "https://github.com/JanDeDobbeleer/oh-my-posh"
|
||||
},
|
||||
|
|
|
@ -73,7 +73,7 @@ oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\jandedobbeleer.omp.json" |
|
|||
Replace `jandedobbeleer.omp.json` with the theme you use.
|
||||
|
||||
:::caution
|
||||
Only winget can add the environment variable `POSH_THEMES_PATH` automatically. For Homebrew, use
|
||||
Only winget and scoop add the environment variable `POSH_THEMES_PATH` automatically. For Homebrew, use
|
||||
`$(brew --prefix oh-my-posh)/themes/jandedobbeleer.omp.json`.
|
||||
:::
|
||||
|
||||
|
|
Loading…
Reference in a new issue