mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-20 02:18:01 +00:00
Start an interactive logon shell for Git Bash
Provide additional arguments to `bash.exe` to get an interactive login shell. This ensures e.g. `.profile` and `.bash_profile` are sourced. As there’s no way to have an existing session under Windows, `--login` is mandatory. Each bash session must be started from scratch. Fixes #105
This commit is contained in:
@@ -41,6 +41,7 @@ export class GitBashShellProvider extends ShellProvider {
|
||||
id: 'git-bash',
|
||||
name: 'Git-Bash',
|
||||
command: path.join(gitBashPath, 'bin', 'bash.exe'),
|
||||
args: [ '--login', '-i' ],
|
||||
env: {
|
||||
TERM: 'cygwin',
|
||||
}
|
||||
|
Reference in New Issue
Block a user