From afe6b8fb114f9c43ff53b2b5ca6130929244b769 Mon Sep 17 00:00:00 2001 From: sawka Date: Fri, 4 Oct 2024 14:21:55 -0700 Subject: [PATCH 1/2] faq entry for git bash --- docs/faq.mdx | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/faq.mdx b/docs/faq.mdx index adbe70a..2721b0a 100644 --- a/docs/faq.mdx +++ b/docs/faq.mdx @@ -41,4 +41,16 @@ The block numbers will appear when you hold down Ctrl-Shift (and disappear once ### How do I make a remote connection? There is a button in the header. Click the or -and type the `[user]@[host]` that you wish to connect to. \ No newline at end of file +and type the `[user]@[host]` that you wish to connect to. + +### On Windows, how can I use Git Bash as my default shell? + +In order to make Git Bash your default shell you'll need to set the configuration variable `term:localshellpath` to +the location of the Git Bash "bash.exe" binary. By default it is located at "C:\Program Files\Git\bin\bash.exe". +Just remember in JSON, backslashes need to be escaped. So add this to your settings.json file: + +```json + "term:localshellpath": "C:\\Program Files\\Git\\bin\\bash.exe" +``` + + From 878f6506265e4cbe937d3c7edc1a93d3ff4f6736 Mon Sep 17 00:00:00 2001 From: sawka Date: Fri, 4 Oct 2024 14:25:45 -0700 Subject: [PATCH 2/2] add a link to config --- docs/faq.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/faq.mdx b/docs/faq.mdx index 2721b0a..d02b0eb 100644 --- a/docs/faq.mdx +++ b/docs/faq.mdx @@ -47,7 +47,7 @@ and type the `[user]@[host]` that you wish to connect to. In order to make Git Bash your default shell you'll need to set the configuration variable `term:localshellpath` to the location of the Git Bash "bash.exe" binary. By default it is located at "C:\Program Files\Git\bin\bash.exe". -Just remember in JSON, backslashes need to be escaped. So add this to your settings.json file: +Just remember in JSON, backslashes need to be escaped. So add this to your [settings.json](./config) file: ```json "term:localshellpath": "C:\\Program Files\\Git\\bin\\bash.exe"