aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nnn.c b/src/nnn.c
index e3e3b35..9cd0910 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -4783,7 +4783,9 @@ int main(int argc, char *argv[])
setlocale(LC_ALL, "");
#ifndef NORL
+#if RL_READLINE_VERSION >= 0x0603
rl_change_environment = 0;
+#endif
/* Bind TAB to cycling */
rl_variable_bind("completion-ignore-case", "on");
#ifdef __linux__