Themes in PowerShell (Wiindows 11) #7216
Unanswered
Wrong-Code
asked this question in
Troubleshoot
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've just updated OMP to the latest version following the documentation, and I've seen that winget now install it as an AppX. Matter of fact, inside the installation directory there is a themes folder, but the previous
POSH_THEMES_PATHenv var is not set anymore, and there's no mention of it in the docs AFAIK.Given the way AppX are managed and stored in versioned folder names, it is not possible to reliably re-define the old env var, as it would depend from the version, and at the same time recurring
C:\Program Files\WindowsAppslooking for the exact folder where OMP has been installed is not possible for non admin users (even if thethemessubdir inside the installation path IS accessible)I would like to understand the logic of having removed the old env variable, or if effectively the themes are to be get somewhere else and those located in the indicated subdir above are there just by accident.
Thanks.
Edit: I have removed anything related to OMP, and installed the version from Microsoft Store. This time I've found that the following piece of code works:
I still don't know if it is the supported/proper way to do it.
Beta Was this translation helpful? Give feedback.
All reactions