diff --git a/src/Native/Linux.cs b/src/Native/Linux.cs index 9537a39a..30aa7cc9 100644 --- a/src/Native/Linux.cs +++ b/src/Native/Linux.cs @@ -78,7 +78,8 @@ namespace SourceGit.Native } var startInfo = new ProcessStartInfo(); - startInfo.WorkingDirectory = string.IsNullOrEmpty(workdir) ? "~" : workdir; + var home = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile); + startInfo.WorkingDirectory = string.IsNullOrEmpty(workdir) ? home : workdir; startInfo.FileName = OS.ShellOrTerminal; Process.Start(startInfo); }