From: 0xACE <0xaced@gmail.com> Date: Tue, 16 Jul 2019 03:02:45 +0000 (+0200) Subject: set rl_change_environment in readline gt v6.3 X-Git-Tag: v2.6~31^2~1 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=ef32cf7177e6956930edf0a185e83d4de1e34702;p=nnn.git set rl_change_environment in readline gt v6.3 Looked up GNU readline library's repo and looked for the first occurance of rl_change_environment. --- diff --git a/src/nnn.c b/src/nnn.c index e3e3b35c..9cd0910a 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__