aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libcmd/repl.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libcmd/repl.cc b/src/libcmd/repl.cc
index 29be71e13..57174bf0e 100644
--- a/src/libcmd/repl.cc
+++ b/src/libcmd/repl.cc
@@ -781,11 +781,13 @@ void runRepl(
std::set<std::string> names;
for (auto & [name, value] : extraEnv) {
- names.insert(ANSI_BOLD + name + ANSI_NORMAL);
+ // names.insert(ANSI_BOLD + name + ANSI_NORMAL);
+ names.insert(name);
repl->addVarToScope(repl->state->symbols.create(name), value);
}
printError(hintfmt("The following extra variables are in scope: %s\n", concatStringsSep(", ", names)).str());
+ // printError("The following extra variables are in scope: %s\n", concatStringsSep(", ", names));
repl->mainLoop({});
}