Skip to content
This repository was archived by the owner on Nov 6, 2024. It is now read-only.

Commit 5bf0aaf

Browse files
authored
faq entry for git bash (#54)
* faq entry for git bash * add a link to config
1 parent 1723fb0 commit 5bf0aaf

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docs/faq.mdx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,16 @@ The block numbers will appear when you hold down Ctrl-Shift (and disappear once
4141
### How do I make a remote connection?
4242

4343
There is a button in the header. Click the <i className="fa-sharp fa-laptop"/> or <i className="fa-sharp fa-arrow-right-arrow-left"/>
44-
and type the `[user]@[host]` that you wish to connect to.
44+
and type the `[user]@[host]` that you wish to connect to.
45+
46+
### On Windows, how can I use Git Bash as my default shell?
47+
48+
In order to make Git Bash your default shell you'll need to set the configuration variable `term:localshellpath` to
49+
the location of the Git Bash "bash.exe" binary. By default it is located at "C:\Program Files\Git\bin\bash.exe".
50+
Just remember in JSON, backslashes need to be escaped. So add this to your [settings.json](./config) file:
51+
52+
```json
53+
"term:localshellpath": "C:\\Program Files\\Git\\bin\\bash.exe"
54+
```
55+
56+

0 commit comments

Comments
 (0)