mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-13 14:34:06 -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_add_path": "bin",
|
||||||
|
"env_set": {
|
||||||
|
"POSH_THEMES_PATH": "$dir\\themes"
|
||||||
|
},
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"github": "https://github.com/JanDeDobbeleer/oh-my-posh"
|
"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.
|
Replace `jandedobbeleer.omp.json` with the theme you use.
|
||||||
|
|
||||||
:::caution
|
:::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`.
|
`$(brew --prefix oh-my-posh)/themes/jandedobbeleer.omp.json`.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue