You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating oh-my-posh from 23 to 24.4.0, my Git Bash terminal displays CONFIG ERROR if I use any theme.
Theming was previously working using a url for a remote config (eg: eval "$(oh-my-posh init bash --config 'https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/jandedobbeleer.omp.json')")
I tried switching to a fully justified local theme path (eg: eval "$(oh-my-posh init bash --config C:/Users/me/AppData/Local/oh-my-posh/main/themes/jandedobbeleer.omp.json')"
I verified that the path is correct
I tried using about 3 different themes for both remote and local configs.
If I comment out the theme line, I do not see any errors
There are no errors present when I run dubug with the theme applied that are not present when I run it without the theme applied.
In v23, I had the config line in my .bashrc file. There is no difference in behavior if I move it to either .bash_profile or .profile. All fail in the same way
@ArielLeslie fixed and validated. This was a serious bug, thanks for reporting it so swiftly. I didn't notice it because I set my config using the internal API 🤦🏻
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues.
If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.
Code of Conduct
What happened?
After updating oh-my-posh from 23 to 24.4.0, my Git Bash terminal displays CONFIG ERROR if I use any theme.
Theming was previously working using a url for a remote config (eg:
eval "$(oh-my-posh init bash --config 'https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/jandedobbeleer.omp.json')"
)eval "$(oh-my-posh init bash --config C:/Users/me/AppData/Local/oh-my-posh/main/themes/jandedobbeleer.omp.json')"
dubug
with the theme applied that are not present when I run it without the theme applied..bashrc
file. There is no difference in behavior if I move it to either.bash_profile
or.profile
. All fail in the same wayTheme
This is consistent across all themes.
What OS are you seeing the problem on?
Windows
Which shell are you using?
bash
Log output
The text was updated successfully, but these errors were encountered: