command not found trying to execute navi on windows
jimmy-loyola opened this issue · 3 comments
Describe the bug
Error message: /bin/bash: line 1: c:binnavi.exe: command not found
My executable is of course in c:\bin\navi.exe but something is going wrong with backslashes parsing.
To Reproduce
Just trying to use it in the simplest way on Windows > cmd.exe.
C:\Users\me>navi.exe
Expected behavior
Default working behavior
Versions:
- OS: [WSL ubuntu]
- Shell Version windows 11 cmd.exe
Thanks for opening your first issue here! In case you're facing a bug, please update navi to the latest version first. Maybe the bug is already solved! :)
I described a workaround for this problem in #794
It enables almost all previewing capabilities of navi when using bash on windows
The workaround can probably also be used for other shells when the environment variables are set correctly
Hi @jimmy-loyola ,
Do you still reproduce your issue with the latest version of navi and defining the shell.command
directive in the configuration file to powershell
?
The shell part of the configuration should look like this:
shell:
command: powershell