aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nnn.c b/src/nnn.c
index a273c82..f64804b 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3427,6 +3427,7 @@ nochange:
case SEL_NOTE:
{
static char *notepath;
+
notepath = notepath ? notepath : getenv(env_cfg[NNN_NOTE]);
if (!notepath) {
printmsg("set NNN_NOTE");