diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-11-24 02:13:27 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-11-24 02:13:27 +0530 |
commit | 5d0af863b530c681e70ebb090294cbe682176482 (patch) | |
tree | 412bccafd162026e50897d26aee961f94f59f6e1 /src/nnn.c | |
parent | ca7405311f78429a0ab8810fb06420713812caa3 (diff) | |
download | nnn-5d0af863b530c681e70ebb090294cbe682176482.tar.gz |
Set hovered and file as
Diffstat (limited to 'src/nnn.c')
-rw-r--r-- | src/nnn.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |