Added argument to open mac tab always in a new window

This commit is contained in:
Abdelilah El Aissaoui 2023-05-03 20:19:05 +02:00
parent 5063fcf5d8
commit 0a1c812bf9
No known key found for this signature in database
GPG key ID: 7587FC860F594869

View file

@ -19,6 +19,6 @@ class MacTerminalProvider @Inject constructor(
override fun startTerminal(terminalEmulator: TerminalEmulator, repositoryPath: String) {
// 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)
}
}