aboutsummaryrefslogtreecommitdiff
path: root/src/repl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/repl.c')
-rw-r--r--src/repl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repl.c b/src/repl.c
index bd08a3e4..aae80b2c 100644
--- a/src/repl.c
+++ b/src/repl.c
@@ -42,7 +42,7 @@ static PUREFUNC repl_binding_t *get_repl_binding(env_t *env, const char *name)
void repl(void)
{
- env_t *env = global_env();
+ env_t *env = global_env(true);
size_t buf_size = 0;
char *line = NULL;
ssize_t len = 0;