mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-20 02:18:01 +00:00
explicitly specify --login for POSIX shells
This commit is contained in:
@@ -33,7 +33,8 @@ export class LinuxDefaultShellProvider extends ShellProvider {
|
||||
return [{
|
||||
id: 'default',
|
||||
name: 'User default',
|
||||
command: line.split(':')[6]
|
||||
command: line.split(':')[6],
|
||||
args: ['--login'],
|
||||
}]
|
||||
}
|
||||
}
|
||||
|
@@ -20,7 +20,8 @@ export class MacOSDefaultShellProvider extends ShellProvider {
|
||||
return [{
|
||||
id: 'default',
|
||||
name: 'User default',
|
||||
command: shellEntry.split(' ')[1].trim()
|
||||
command: shellEntry.split(' ')[1].trim(),
|
||||
args: ['--login'],
|
||||
}]
|
||||
}
|
||||
}
|
||||
|
@@ -24,6 +24,7 @@ export class POSIXShellsProvider extends ShellProvider {
|
||||
id: x,
|
||||
name: x,
|
||||
command: x,
|
||||
args: ['--login'],
|
||||
}))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user