From c2f7b3ee8764236d4814ca3eb24f6fa346084158 Mon Sep 17 00:00:00 2001 From: pwnfan <108991950+pwnfan@users.noreply.github.com> Date: Tue, 9 Jan 2024 02:00:38 +0800 Subject: [PATCH] Fix verbose and strange prefix in Powershell --- libmamba/data/Mamba.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmamba/data/Mamba.psm1 b/libmamba/data/Mamba.psm1 index e548f1660f..3c0f9e0ebf 100644 --- a/libmamba/data/Mamba.psm1 +++ b/libmamba/data/Mamba.psm1 @@ -162,7 +162,7 @@ if ($MambaModuleArgs.ChangePs1) { } function global:prompt() { - if ($Env:CONDA_PROMPT_MODIFIER) { + if ($Env:CONDA_PROMPT_MODIFIER -ne "False") { $Env:CONDA_PROMPT_MODIFIER | Write-Host -NoNewline } MambaPromptBackup;