mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
Expose shell's environment - fish shell (#240971)
* start working on fish, save progress, still lots TODO * modify proposed.terminalShellEnv.d.ts * remember we dont have acccess to nonce in .fish script * save progress, adding isTrusted * two arrays approach in fish * provide EnvClear for fish, other shell as well. * fix tests * REMOVE TWO ARRAYS METHOD, always send all env * remove deprecated comments * remove junk get ready for review * dont import vscode in terminal/common/capabilities.ts * take feedback => pass in Clear as part of EnvSingleStart * add env clear argument to SI.zsh * update one more place to prevent vscode import * mandatory flag description?? discuss this * make things right Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com> * comment out test code * use mapsStrictEqualIgnoreOrder instead of equals * ready to go
This commit is contained in:
@@ -99,8 +99,9 @@ import { assertNoRpc } from '../utils';
|
||||
}));
|
||||
});
|
||||
ok(shellIntegration.env);
|
||||
ok(shellIntegration.env.PATH);
|
||||
ok(shellIntegration.env.PATH.length > 0, 'env.PATH should have a length greater than 0');
|
||||
ok(shellIntegration.env.value);
|
||||
ok(shellIntegration.env.value.PATH);
|
||||
ok(shellIntegration.env.value.PATH.length > 0, 'env.value.PATH should have a length greater than 0');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user