diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-01-11 22:15:51 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-01-11 22:15:51 +0530 |
commit | 08520ac80ee762c390dce35e503b046af8fab216 (patch) | |
tree | 35bdbc332d9986d746b4f86067d8f0c7f22930ab /src | |
parent | 5df41255b293d20ea5f1a54ba1950ff483c66187 (diff) | |
download | nnn-08520ac80ee762c390dce35e503b046af8fab216.tar.gz |
Rename config env var
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 */ |