combine ExecError with LaunchError and use Session::try_get() instead of matching
This commit is contained in:
1 parent
890f715388
commit
a51b20add7
6 files changed
+38
-43
No files matched your search
@@ -136,7 +136,7 @@ fn default_term_config() -> TermConfig {
|
||||
{
|
||||
if let Ok(path) = which::which("pwsh.exe") {
|
||||
return TermConfig {
|
||||
name: exe.into(),
|
||||
name: "pwsh.exe".into(),
|
||||
exec: "conhost.exe".into(),
|
||||
args: vec![path.into_os_string()]
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user