Skip to content

Commit 245c0c7

Browse files
authored
improve Git Bash integration on Windows (microsoft#151105) (microsoft#165428)
Bash sessions should be started as interactive (`-i`) sessions to enable history commands by default. This is the same setup used by the official Git for Windows JSON fragment extension for Windows Terminal. This does not fix the issue at this time, however, because bash signal handling on Windows for quit/close/kill signals does not work as expected.
1 parent b9b93f2 commit 245c0c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/platform/terminal/node/terminalProfiles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ async function initializeWindowsProfiles(testPwshSourcePaths?: string[]): Promis
208208
`${process.env['LocalAppData']}\\Programs\\Git\\bin\\bash.exe`,
209209
`${process.env['UserProfile']}\\scoop\\apps\\git-with-openssh\\current\\bin\\bash.exe`,
210210
],
211-
args: ['--login']
211+
args: ['--login', '-i']
212212
});
213213
profileSources.set('PowerShell', {
214214
profileName: 'PowerShell',

0 commit comments

Comments
 (0)