mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-25 19:32:03 +08:00
Add support for WezTerm
This commit is contained in:
@@ -71,6 +71,9 @@ namespace SourceGit.Native
|
||||
startInfo.WorkingDirectory = string.IsNullOrEmpty(workdir) ? home : workdir;
|
||||
startInfo.FileName = OS.ShellOrTerminal;
|
||||
|
||||
if (OS.ShellOrTerminal.EndsWith("wezterm", StringComparison.OrdinalIgnoreCase))
|
||||
startInfo.Arguments = $"start --cwd \"{workdir}\"";
|
||||
|
||||
try
|
||||
{
|
||||
Process.Start(startInfo);
|
||||
|
||||
Reference in New Issue
Block a user