Skip to content

env set in my fish config prevails over what I set in the env var collection #184009

Closed
@meganrogge

Description

@meganrogge

Testing #182970

	const term2 = vscode.window.createTerminal({
		name: `Ext Terminal tranisent #${NEXT_TERM_ID++}`,
		isTransient: true,
		shellPath: 'fish'
	} as any);
	const collection = context.environmentVariableCollection;
		collection.replace('FOO', 'REPLACED', { applyAtShellIntegration: true, applyAtProcessCreation: false });
		collection.append('APPENDING', 'appending', { applyAtShellIntegration: true, applyAtProcessCreation: false })
		collection.prepend('PREPENDING', 'prepending', { applyAtShellIntegration: true, applyAtProcessCreation: false });

Screenshot 2023-05-31 at 7 59 39 PM

Screenshot 2023-05-31 at 8 00 08 PM

Metadata

Metadata

Assignees

Labels

apibugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code Insidersterminal-shell-fishAn issue in the terminal specific to fish, including shell integrationterminal-shell-integrationShell integration infrastructure, command decorations, etc.verifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions