aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 089bbeb..0b35ae7 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -516,7 +516,7 @@ static const char * const envs[] = {
"VISUAL",
"EDITOR",
"PAGER",
- "NNN",
+ "nnn",
};
#ifdef __linux__
@@ -5086,9 +5086,9 @@ nochange:
if (tmp[0] == '_' && tmp[1]) {
xstrlcpy(newpath, ++tmp, PATH_MAX);
- if (is_suffix(newpath, " $NNN")) {
+ if (is_suffix(newpath, " $nnn")) {
tmp = (ndents ? dents[cur].name : NULL);
- /* Set `\0` to clear ' $NNN' suffix */
+ /* Set `\0` to clear ' $nnn' suffix */
newpath[strlen(newpath) - 5] = '\0';
} else
tmp = NULL;