File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1248,7 +1248,7 @@ namespace mamba
12481248
12491249 if (!env_transform.export_path .empty ())
12501250 {
1251- out << " PATH = " << env_transform.export_path << " \n " ;
1251+ out << " PATH = " << env_transform.export_path << (util::on_win ? ' ; ' : ' : ' ) << " \n " ;
12521252 }
12531253
12541254 for (const fs::u8path& ds : env_transform.deactivate_scripts )
@@ -1268,7 +1268,6 @@ namespace mamba
12681268
12691269 for (const auto & [ekey, evar] : env_transform.export_vars )
12701270 {
1271- // add unix or windows handling
12721271 out << ekey << " = " << evar << " \n " ;
12731272 }
12741273 for (const fs::u8path& p : env_transform.activate_scripts )
Original file line number Diff line number Diff line change @@ -513,6 +513,7 @@ namespace mamba
513513 | load-env
514514 )
515515 # update prompt
516+ $env.CONDA_PROMPT_MODIFIER = "(" + $name + ")"
516517 if ($env.CONDA_PROMPT_MODIFIER? != null) {
517518 $env.PROMPT_COMMAND = {|| $env.CONDA_PROMPT_MODIFIER + (do $env.PROMPT_COMMAND_BK)}
518519 }
You can’t perform that action at this time.
0 commit comments