Skip to content

Commit

Permalink
Added argument to open mac tab always in a new window
Browse files Browse the repository at this point in the history
  • Loading branch information
JetpackDuba committed May 3, 2023
1 parent 5063fcf commit 0a1c812
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

0 comments on commit 0a1c812

Please sign in to comment.