mirror of
https://github.com/Eugeny/tabby.git
synced 2025-08-07 18:01:53 +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',
|
id: 'git-bash',
|
||||||
name: 'Git-Bash',
|
name: 'Git-Bash',
|
||||||
command: path.join(gitBashPath, 'bin', 'bash.exe'),
|
command: path.join(gitBashPath, 'bin', 'bash.exe'),
|
||||||
|
args: [ '--login', '-i' ],
|
||||||
env: {
|
env: {
|
||||||
TERM: 'cygwin',
|
TERM: 'cygwin',
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user