diff options
author | Nikolas Grottendieck <git@nikolasgrottendieck.com> | 2022-11-10 02:37:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-10 02:37:24 +0300 |
commit | 245c0c781c96f7f39b170b0090f16390071f407d (patch) | |
tree | 4872f3720c108035e3bd51f56ad22a2c65012a37 | |
parent | b9b93f2b45aa90e4d5f3b80351145d6f61203922 (diff) |
improve Git Bash integration on Windows (#151105) (#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.
-rw-r--r-- | src/vs/platform/terminal/node/terminalProfiles.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vs/platform/terminal/node/terminalProfiles.ts b/src/vs/platform/terminal/node/terminalProfiles.ts index 3408f00822c..cbb1dfe65e2 100644 --- a/src/vs/platform/terminal/node/terminalProfiles.ts +++ b/src/vs/platform/terminal/node/terminalProfiles.ts @@ -208,7 +208,7 @@ async function initializeWindowsProfiles(testPwshSourcePaths?: string[]): Promis `${process.env['LocalAppData']}\\Programs\\Git\\bin\\bash.exe`, `${process.env['UserProfile']}\\scoop\\apps\\git-with-openssh\\current\\bin\\bash.exe`, ], - args: ['--login'] + args: ['--login', '-i'] }); profileSources.set('PowerShell', { profileName: 'PowerShell', |