followup to renaming fish script, redux

See 90a258a & 2a81960.
This commit is contained in:
Z. Grace Moreau
2022-08-09 11:01:11 -06:00
parent 2a8196035e
commit d553d152a3
+1 -1
View File
@@ -72,7 +72,7 @@ export async function main(argv: string[]): Promise<any> {
// Usage: `[[ "$TERM_PROGRAM" == "vscode" ]] && . "$(code --locate-shell-integration-path zsh)"`
case 'zsh': file = 'shellIntegration-rc.zsh'; break;
// Usage: `string match -q "$TERM_PROGRAM" "vscode"; and . (code --locate-shell-integration-path fish)`
case 'fish': file = 'shellIntegration-fish.fish'; break;
case 'fish': file = 'shellIntegration.fish'; break;
default: throw new Error('Error using --locate-shell-integration-path: Invalid shell type');
}
console.log(join(dirname(FileAccess.asFileUri('', require)).fsPath, 'out', 'vs', 'workbench', 'contrib', 'terminal', 'browser', 'media', file));