Matching the command executor with the shell option #1724
georgejean
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
Thanks so much @georgejean. Is it worthwhile turning this into a PR? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you for your response! I'll run some additional tests. I've used deepseek-chat as a model and I'll try with at least one other model and different shell configurations. After that, if my diagnosis is confirmed, I'll let you decide whether to make the changes directly or if you prefer a PR. Regardless, if this change is confirmed, I expect it to be beneficial for me. It would also be helpful to get feedback from other Windows users... |
Beta Was this translation helpful? Give feedback.
2 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.
-
First of all, thank you for this great plugin!
I point out that I'm a Windows user.
I've never managed to get the following instruction to work in the chat buffer, regardless of my shell configuration ('cmd.exe' or 'pwsh.exe').
I then decided to use the bash shell with these options:
and (I think this point is crucial), I also modified the file
cmd.lua as follows:
Therefore, I prefer to use
sh
on Windows for the command when it's in the PATH (which may be the case for many users sincesh.exe
is included with Git for Windows).And there 🎉 🎊, the same instruction passed to the agent has worked perfectly !
I hope this can help some people, and perhaps inspire a potential pull request!
Beta Was this translation helpful? Give feedback.
All reactions