aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2019-08-22 17:34:16 +0100
committersin <sin@2f30.org>2019-08-22 17:34:16 +0100
commitb1935acd165dfe91f57ec9e814588cc33ec0e31f (patch)
tree5a8f54d2b4cc6d5cbe4ab2137229636ef36651d4
parent1685b556f23b8c4782e91e020ad74ffcda8010fb (diff)
downloadnoice-b1935acd165dfe91f57ec9e814588cc33ec0e31f.tar.gz
Rename NOPENCMD to NOPEN to be consistent with env variable naming
-rw-r--r--noice.c2
-rw-r--r--noiceconf.def.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/noice.c b/noice.c
index 9a9ea0c..0a52c40 100644
--- a/noice.c
+++ b/noice.c
@@ -650,7 +650,7 @@ nochange:
goto begin;
case S_IFREG:
exitcurses();
- run = xgetenv("NOPEN", NOPENCMD);
+ run = xgetenv("NOPEN", NOPEN);
r = spawnlp(path, run, run, newpath, (void *)0);
initcurses();
if (r == -1) {
diff --git a/noiceconf.def.h b/noiceconf.def.h
index d86fd9c..edb0f52 100644
--- a/noiceconf.def.h
+++ b/noiceconf.def.h
@@ -3,7 +3,7 @@
#define CURSR " > "
#define EMPTY " "
-#define NOPENCMD "nopen"
+#define NOPEN "nopen"
int dirorder = 0; /* Set to 1 to sort by directory first */
int mtimeorder = 0; /* Set to 1 to sort by time modified */
Un proyecto texto-plano.xyz