Can we use this version to use another shell in VS Code?
amyspark opened this issue · 4 comments
Hey,
As I wanted to use the Fish shell in Git Bash, I switched to this SDK version. I cannot find out if there's a helper to set up a MSYS2 shell, like bin/bash.exe
in the standard Git for Windows installation.
Another different problem is that there is no way to change the default shell, as git-bash.exe
hardcodes the login shell to Bash.
Can you help out with this?
I cannot find out if there's a helper to set up a MSYS2 shell, like
bin/bash.exe
in the standard Git for Windows installation.
You can use edit-git-bash.exe
(in the SDK, call sdk cd build-extra && make edit-git-bash.exe
) to edit the resources of git-bash.exe
, which is how the installer overrides the command-line e.g. to open a regular Windows Console rather than a MinTTY window. You can use the same to override which shell to run.
I followed @PhilipOakley 's comment and added --cd-to-home -c fish
to my Git Bash shortcuts. To use it with VS Code, I copied the bin/bash.exe
executable and added the same.
So can we close this now? It was not a bug report, after all...