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

[Internal] Use subsub commands for micromamba shell #2527

Merged
merged 12 commits into from
May 22, 2023

Conversation

AntoinePrv
Copy link
Member

The code was previously not using sub command, which creates a mix of invlaid CLI arguments.
This is taking some load off #2475.

@AntoinePrv AntoinePrv self-assigned this May 16, 2023
@AntoinePrv AntoinePrv changed the title Use subsub commands for micromamba shell [Internal] Use subsub commands for micromamba shell May 16, 2023
@AntoinePrv AntoinePrv force-pushed the cli-shell branch 2 times, most recently from 6922b41 to 82aafe0 Compare May 17, 2023 08:06
micromamba/src/shell.cpp Show resolved Hide resolved
@@ -58,7 +58,7 @@ function Exit-MambaEnvironment {
if ($deactivateCommand.Trim().Length -eq 0) {
return;
}
Write-Verbose "[micromamba shell deactivate -s powershell]`n$deactivateCommand";
Write-Verbose "[micromamba shell deactivate --shell powershell]`n$deactivateCommand";
Copy link
Member

Choose a reason for hiding this comment

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

Is this change aiming to make the command more explicit?
If so, should we change it everywhere?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yhea, it's cosmetic. At first I started looking at them because I wanted to remove usages of micromamba shell --shell in favor of micromamba shell --shell `

@Klaim Klaim merged commit 09dc37a into mamba-org:main May 22, 2023
20 checks passed
@AntoinePrv AntoinePrv deleted the cli-shell branch May 22, 2023 12:37
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.

None yet

3 participants