src/goEnvironmentStatus.ts: improve integrated terminal support

This CL adds `pwsh` and several Linux shells to the list of supported
shells. It also remove the Linux shell export command as the fallback.

Updates golang/vscode-go#378

Change-Id: I43270344df2e53676e8993f3be81445c44d70d1c
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/244378
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
diff --git a/src/goEnvironmentStatus.ts b/src/goEnvironmentStatus.ts
index bcdbf3f..a1f77d9 100644
--- a/src/goEnvironmentStatus.ts
+++ b/src/goEnvironmentStatus.ts
@@ -286,13 +286,13 @@
 	if (terminal.name.toLowerCase() === 'cmd') {
 		terminal.sendText(`set PATH=${gorootBin};%Path%`, true);
 		terminal.sendText('cls');
-	} else if (terminal.name.toLowerCase() === 'powershell') {
+	} else if (['powershell', 'pwsh'].includes(terminal.name.toLowerCase())) {
 		terminal.sendText(`$env:Path="${gorootBin};$env:Path"`, true);
 		terminal.sendText('clear');
 	} else if (terminal.name.toLowerCase() === 'fish') {
 		terminal.sendText(`set -gx PATH ${gorootBin} $PATH`);
 		terminal.sendText('clear');
-	} else {
+	} else if (['bash', 'sh', 'zsh', 'ksh'].includes(terminal.name.toLowerCase())) {
 		terminal.sendText(`export PATH=${gorootBin}:$PATH`, true);
 		terminal.sendText('clear');
 	}