aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-01-15 10:51:06 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-01-15 10:51:06 +0530
commit389180d13981f8c21424cd88b4cec0af79b55dcd (patch)
tree2d96d8a8aeb8faa8809dc0c9f49c6298c0cdb54d /src
parentc1668cb9dd7c2c0b49d0f368dfd5edff072674fd (diff)
downloadnnn-389180d13981f8c21424cd88b4cec0af79b55dcd.tar.gz
Change env var name
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 723a636..67eb9bc 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2171,7 +2171,7 @@ static bool show_help(char *path)
if (cfg.autoselect)
dprintf(fd, "NNN_NO_AUTOSELECT: 1\n");
if (cfg.nonavopen)
- dprintf(fd, "NNN_NO_FILE_OPEN_ON_NAV: 1\n");
+ dprintf(fd, "NNN_RESTRICT_NAV_OPEN: 1\n");
if (cfg.restrict0b)
dprintf(fd, "NNN_RESTRICT_0B: 1\n");
if (!cfg.filter_re)
@@ -3791,7 +3791,7 @@ int main(int argc, char *argv[])
cfg.autoselect = 0;
/* Disable opening files on right arrow and `l` */
- if (getenv("NNN_NO_FILE_OPEN_ON_NAV"))
+ if (getenv("NNN_RESTRICT_NAV_OPEN"))
cfg.nonavopen = 1;
/* Restrict opening of 0-byte files */