From 0a1c812bf98d287940624d2cb608a295bfcbafff Mon Sep 17 00:00:00 2001 From: Abdelilah El Aissaoui Date: Wed, 3 May 2023 20:19:05 +0200 Subject: [PATCH] Added argument to open mac tab always in a new window --- .../com/jetpackduba/gitnuro/terminal/MacTerminalProvider.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/jetpackduba/gitnuro/terminal/MacTerminalProvider.kt b/src/main/kotlin/com/jetpackduba/gitnuro/terminal/MacTerminalProvider.kt index 1546b6e..a303c94 100644 --- a/src/main/kotlin/com/jetpackduba/gitnuro/terminal/MacTerminalProvider.kt +++ b/src/main/kotlin/com/jetpackduba/gitnuro/terminal/MacTerminalProvider.kt @@ -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) } } \ No newline at end of file