mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-18 09:30:02 +00:00
fixed #564
This commit is contained in:
parent
17bac5a904
commit
cb17fd0866
@ -16,7 +16,7 @@ export class MacOSDefaultShellProvider extends ShellProvider {
|
|||||||
if (this.hostApp.platform !== Platform.macOS) {
|
if (this.hostApp.platform !== Platform.macOS) {
|
||||||
return []
|
return []
|
||||||
}
|
}
|
||||||
let shellEntry = (await exec(`dscl . -read /Users/${process.env.LOGNAME} UserShell`))[0].toString()
|
let shellEntry = (await exec(`/usr/bin/dscl . -read /Users/${process.env.LOGNAME} UserShell`))[0].toString()
|
||||||
return [{
|
return [{
|
||||||
id: 'default',
|
id: 'default',
|
||||||
name: 'User default',
|
name: 'User default',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user