aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-01-11 22:15:51 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-01-11 22:15:51 +0530
commit08520ac80ee762c390dce35e503b046af8fab216 (patch)
tree35bdbc332d9986d746b4f86067d8f0c7f22930ab /src/nnn.c
parent5df41255b293d20ea5f1a54ba1950ff483c66187 (diff)
downloadnnn-08520ac80ee762c390dce35e503b046af8fab216.tar.gz
Rename config env var
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 1cdaa56..76e448e 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2161,8 +2161,8 @@ static bool show_help(char *path)
dprintf(fd, "NNN_SHOW_HIDDEN: 1\n");
if (getenv("NNN_NO_AUTOSELECT"))
dprintf(fd, "NNN_NO_AUTOSELECT: 1\n");
- if (getenv("DISABLE_FILE_OPEN_ON_NAV"))
- dprintf(fd, "DISABLE_FILE_OPEN_ON_NAV: 1\n");
+ if (getenv("NNN_NO_FILE_OPEN_ON_NAV"))
+ dprintf(fd, "NNN_NO_FILE_OPEN_ON_NAV: 1\n");
dprintf(fd, "\n");
@@ -3778,7 +3778,7 @@ int main(int argc, char *argv[])
cfg.autoselect = 0;
/* Disable opening files on right arrow and `l` */
- if (getenv("DISABLE_FILE_OPEN_ON_NAV"))
+ if (getenv("NNN_NO_FILE_OPEN_ON_NAV"))
cfg.nonavopen = 1;
/* Restrict opening of 0-byte files */