You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My problem is not solved in the Troubleshooting docs
Anaconda default channels
I do NOT use the Anaconda default channels (pkgs/* etc.)
How did you install Mamba?
Micromamba
Search tried in issue tracker
none
Latest version of Mamba
My problem is not solved with the latest version
Tried in Conda?
I have this problem with Conda as well, without using Mamba
Describe your issue
Env
Windows 11
Windows Terminal
Posh
Oh-My-Posh
The Issue
open a new powershell, there is always a strange and verbose prefix False in the left side, even though we have not activated mamba env yet:
PowerShell 7.4.0
Loading personal and system profiles took 763ms.
False# pwnfan @ pwnfan-win11 in ~ [01:04:51]
$
False# pwnfan @ pwnfan-win11 in ~ [01:04:52]
$ whoami
pwnfan-win11\pwnfan
False# pwnfan @ pwnfan-win11 in ~ [01:04:56]
$ xxx
xxx: The term 'xxx' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
False# pwnfan @ pwnfan-win11 in ~ [01:04:58]
$
but if we activate a mamba env then deactivate it, everything reverts to fine and the strange False dispeared
False# pwnfan @ pwnfan-win11 in ~ [01:04:58]
$ micromamba activate base
(base) # pwnfan @ pwnfan-win11 in ~ [01:05:02]
$ micromamba deactivate
# pwnfan @ pwnfan-win11 in ~ [01:05:05]
pwnfan
changed the title
verbose and strang prefex in Powershell even though mamba env is not activated
verbose and strange prefix in Powershell even though mamba env is not activated
Jan 8, 2024
Troubleshooting docs
Anaconda default channels
How did you install Mamba?
Micromamba
Search tried in issue tracker
none
Latest version of Mamba
Tried in Conda?
I have this problem with Conda as well, without using Mamba
Describe your issue
Env
The Issue
open a new powershell, there is always a strange and verbose prefix
False
in the left side, even though we have not activated mamba env yet:but if we activate a mamba env then deactivate it, everything reverts to fine and the strange
False
dispearedIssue Analysis
the bug is at
mamba/libmamba/data/Mamba.psm1
Line 165 in 6bf43a6
the debug log:
the reasons:
$Env:CONDA_PROMPT_MODIFIER
is a StringFalse
rather than Boolen$Env:CONDA_PROMPT_MODIFIER
is the env name,base
in my case$Env:CONDA_PROMPT_MODIFIER
was changed intonull
, which helped to revert the bugmamba info / micromamba info
Logs
No response
environment.yml
No response
~/.condarc
No response
The text was updated successfully, but these errors were encountered: