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

feat: Add path variable modification for the shells #232

Merged
merged 8 commits into from
Jun 27, 2023

Conversation

ruben-arts
Copy link
Collaborator

Allow for specifying what the path modification will be when activating an environment.

Copy link
Collaborator

@baszalmstra baszalmstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Could you also add a snapshot for powershell?

@ruben-arts
Copy link
Collaborator Author

related: prefix-dev/pixi#133

@wolfv wolfv merged commit 1b1c761 into conda:main Jun 27, 2023
@@ -241,6 +288,14 @@ impl Shell for CmdExe {
cmd.arg("/D").arg("/C").arg(path);
cmd
}

fn path_seperator(&self) -> &str {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately PowerShell on Unix uses : as path seperator.

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.

3 participants