mirror of https://github.com/mamba-org/mamba.git
Merge 878c67c316
into 4185322d51
This commit is contained in:
commit
8e4ecb5e19
|
@ -500,7 +500,9 @@ namespace mamba
|
||||||
#add condabin when base env
|
#add condabin when base env
|
||||||
if $env.MAMBA_SHLVL? == null {
|
if $env.MAMBA_SHLVL? == null {
|
||||||
$env.MAMBA_SHLVL = 0
|
$env.MAMBA_SHLVL = 0
|
||||||
$env.PATH = ($env.PATH | prepend $"($env.MAMBA_ROOT_PREFIX)/condabin")
|
if (test -d "$env.MAMBA_ROOT_PREFIX/condabin") {
|
||||||
|
$env.PATH = ($env.PATH | prepend $"($env.MAMBA_ROOT_PREFIX)/condabin")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#ask mamba how to setup the environment and set the environment
|
#ask mamba how to setup the environment and set the environment
|
||||||
(^($env.MAMBA_EXE) shell activate --shell nu $name
|
(^($env.MAMBA_EXE) shell activate --shell nu $name
|
||||||
|
|
Loading…
Reference in New Issue