CONTRIBUTING guideErrors every time I do anything and doesn't load the theme.
Error: omp_precmd:6: command not found: C:UsersMsi.localbinoh-my-posh.exe
The path should have been C:\Users\Msi\.local\bin\oh-my-posh.exe. Works fine with posh.
None.
Expected behavior: Loads and doesn't error.
Actual behavior: Errors with the error above.
Misclicked enter while typing, sorry
Reopened after actually typing the issue body, sorry for misclicking and opening the issue without writing it all.
It escapes the \. Interesting. I'll try to reproduce.
@JanDeDobbeleer I don't know if it's the proper fix, but I was able to resolve this by adding this to the top of the getShellInitScript function
executable = strings.ReplaceAll(executable, "\\", "/")
I hope this saves you a bit of time. I don't know enough about the new init feature or the different shell combinations to know whether this breaks things for some other use case.
@TravisTX that should work. I believe Powershell can resolve that on Windows as well. Will check.