Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stopped see the Stylish font #104

Open
NaveDanan opened this issue Aug 12, 2024 · 2 comments · May be fixed by #109
Open

Stopped see the Stylish font #104

NaveDanan opened this issue Aug 12, 2024 · 2 comments · May be fixed by #109

Comments

@NaveDanan
Copy link

NaveDanan commented Aug 12, 2024

Hi!
I'm using Win 11 OS x64, pwsh version 7.4.4.
When I first installed it, it was working fine, but now my font looks like this (second image), I set Cove Font Nerd Mono as default (in the default tab and in the pwsh tab). Has anyone had a similar experience with it?
image
after a few hours...
image

** Edited **
I can initiate themes in my pwsh:
image

But after reopening the pwsh terminal it reset back to what is shown in image 2

@Ronambulo
Copy link

Ronambulo commented Sep 9, 2024

not the ideal thing, but add that command to your profile so it runs with your terminal every time you open it up.

use Edit-Profile

and paste it

oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\YOURTHEMEHERE.omp.json" | Invoke-Expression

@galrothschild
Copy link

This is due to the way Get-Theme function works:
image
If it recognizes a profile.ps1 (Can be created by the command Edit-Profile or by another cli tool that wants to edit the profile) it will search for the theme in there even if it's not there and won't run at all if it doesn't find it.
Easy fix for it would be like this:
image
which will run the default theme (cobalt2) if it doesn't find another one in the personalized profile file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants