Added argument to open mac tab always in a new window
This commit is contained in:
parent
5063fcf5d8
commit
0a1c812bf9
@ -19,6 +19,6 @@ class MacTerminalProvider @Inject constructor(
|
|||||||
|
|
||||||
override fun startTerminal(terminalEmulator: TerminalEmulator, repositoryPath: String) {
|
override fun startTerminal(terminalEmulator: TerminalEmulator, repositoryPath: String) {
|
||||||
// TODO Check if passing the path as argument is required for other terminal emulators
|
// TODO Check if passing the path as argument is required for other terminal emulators
|
||||||
shellManager.runCommandInPath(listOf("open", "-a", terminalEmulator.path, "--args", repositoryPath), repositoryPath)
|
shellManager.runCommandInPath(listOf("open", "-a", terminalEmulator.path, "-n", "--args", repositoryPath), repositoryPath)
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user