Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose shell's environment - fish shell #240971

Merged
merged 20 commits into from
Feb 20, 2025
Merged

Expose shell's environment - fish shell #240971

merged 20 commits into from
Feb 20, 2025

Conversation

anthonykim1
Copy link
Contributor

Part of #227467 for fish shell.

Also adding isTrusted and changing things here and there in order to support shell env for fish without nonce

@anthonykim1 anthonykim1 self-assigned this Feb 17, 2025
@anthonykim1
Copy link
Contributor Author

TODO: Should probably update Python environment extension before merging this in: microsoft/vscode-python-environments#155

@anthonykim1
Copy link
Contributor Author

@meganrogge I tried to update the terminal suggest code to conform to new api shape (added the isTrusted field and env is now accessible via env.value instead of just .env)

@anthonykim1 anthonykim1 added this to the February 2025 milestone Feb 18, 2025
@anthonykim1 anthonykim1 requested a review from Tyriar February 19, 2025 01:21
@anthonykim1 anthonykim1 marked this pull request as ready for review February 19, 2025 01:21
@anthonykim1 anthonykim1 marked this pull request as draft February 19, 2025 16:55
@anthonykim1 anthonykim1 marked this pull request as ready for review February 19, 2025 19:10
@anthonykim1 anthonykim1 requested a review from Tyriar February 19, 2025 19:11
@anthonykim1 anthonykim1 marked this pull request as draft February 20, 2025 18:14
@anthonykim1 anthonykim1 marked this pull request as ready for review February 20, 2025 18:18
@anthonykim1 anthonykim1 enabled auto-merge (squash) February 20, 2025 18:33
@anthonykim1 anthonykim1 merged commit f99c5c6 into main Feb 20, 2025
8 checks passed
@anthonykim1 anthonykim1 deleted the anthonykim1/newEnvFish branch February 20, 2025 18:42
anthonykim1 added a commit to microsoft/vscode-python-environments that referenced this pull request Feb 20, 2025
Adding isTrusted field as part of shell env api, meaning the shape would
change a bit.
Accessing shell env would be `.env.value` instead of `.env`.

Trying to prevent breaking where this api is already being used, so that
I can safely merge: microsoft/vscode#240971
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants