Error when using with Cygwin #986
Unanswered
RT-Tap
asked this question in
Troubleshoot
Replies: 3 comments 11 replies
|
What's your bash config like? |
5 replies
3 replies
|
This is probably a very dumb question, but how does one install it in the first place, can I just insert the path to the Windows executable, as cygwin is just a POSIX compatibility layer for Windows? |
3 replies
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.
Hey, first off I want to thank all contributors for this really cool project! Also I know Cygwin isn't officially supported however it seems to work or at least the base functionality does.
So I successfully got oh-my-posh working without much effort or changing anything just used the linux version of oh-my-posh on Cygwin. However I keep getting an error and the path portion of a theme says
INVALID CONFIG PATH. The Error is as follows:I believe this is because Cygwin prefaces normal system directories with
/cygwin/so for exampleC:/Users/Me/Documents/would be/cygwin/c/Users/Me/Documents/and directories in cygwin's directory aren't changed at all, or rather the change is it treats it's root directory as the root directory and anything outside is prefaced with/cygwin/. However I get this error even when in Cygwin's home directory where using the commandpwdwould result in a path like/home/me.Any Idea how i could fix this? Would I need to compile from scratch and change some file location configs or something along those lines?
Maybe I can do some enviroment variable changes? However I don't want to break literally everything else so doubt this is a good idea.
Also to save HD space (minimal I know but efficiency) I simply symlinked
.poshthemesin my cygwin directory to the themes folder in my Windows instance but I don't think this is part of the issue or at least doesnt seem to be.All reactions