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

Nu 0.87.0 #2984

Merged
merged 2 commits into from
Nov 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libmamba/src/core/shell_init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ namespace mamba
content << "$env.PATH = ($env.PATH | append ([$env.MAMBA_ROOT_PREFIX bin] | path join) | uniq)\n";
content << "$env.PROMPT_COMMAND_BK = $env.PROMPT_COMMAND"
<< "\n";
content << R"###(def-env "micromamba activate" [name: string] {
content << R"###(def --env "micromamba activate" [name: string] {
#add condabin when root
if $env.MAMBA_SHLVL? == null {
$env.MAMBA_SHLVL = 0
Expand All @@ -431,7 +431,7 @@ namespace mamba
$env.PROMPT_COMMAND = {|| $env.CONDA_PROMPT_MODIFIER + (do $env.PROMPT_COMMAND_BK)}
}
}
def-env "micromamba deactivate" [] {
def --env "micromamba deactivate" [] {
#remove active environment except micromamba root
if $env.CONDA_PROMPT_MODIFIER? != null {
# unset set variables
Expand Down