Skip to content

fix: too much shell variables in activation of pixi shell - #1507

Merged
ruben-arts merged 15 commits into
prefix-dev:mainfrom
ruben-arts:fix/shell_activation
Jun 14, 2024
Merged

ruben-arts merged 15 commits into
prefix-dev:mainfrom
ruben-arts:fix/shell_activation

Conversation

@ruben-arts

@ruben-arts ruben-arts commented Jun 14, 2024 •

Copy link
Copy Markdown
Contributor

Fixes #1503
Fixes #1505

The issue was that the work on the clean-env introduced a situation where all env vars of the current environment are added to the shell activation. This is not what we want, so this pr reverts that behavior.

This pr adds

  • Cleanup of the activation code
  • Storage of both the clean and normal environment variables when used in the tasks.
  • Introduces Environment variable behavior to tell the activator what to do with the current environment
  • Removes windows non-sense, I added the possible code to the related issue : Support pure/isolated environments #289 for future reference.

@ruben-arts
ruben-arts marked this pull request as ready for review June 14, 2024 09:23
@ruben-arts ruben-arts changed the title Fix shell variables fix: too much shell variables in activation of pixi shell Jun 14, 2024
@ruben-arts
ruben-arts enabled auto-merge (squash) June 14, 2024 09:39
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.

pixi shell broken on Windows if Env vars contains quotes pixi shell not activated due to read-only variable

2 participants