Skip to content

Commit

Permalink
Nu 0.87.0 (#2984)
Browse files Browse the repository at this point in the history
Update to nu shell 0.87
  • Loading branch information
cvanelteren authored Nov 17, 2023
1 parent 49e03b2 commit 1fda529
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 1fda529

Please sign in to comment.