aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorGravatar Martin Kühl <martin.kuehl@gmail.com>2015-11-20 16:42:33 +0100
committerGravatar sin <sin@2f30.org>2015-11-26 13:37:03 +0000
commitd1ed0cff118a07327b3b237ea65836f5c673acbb (patch)
treeaf0753ee09bbf1d5e0edc9227566594f0eb7d328 /README
parentd1d086d91edd89e5a8edcc3349488b3ed89f8c9d (diff)
downloadnnn-d1ed0cff118a07327b3b237ea65836f5c673acbb.tar.gz
Support commands specified by environment variables
Specifying commands by name in config.h means that every time one switches ones editor (for example), one has to modify every config.h file referencing that editor and then recompile every corresponding program. This change adds a string `env` for specifying an environment variable to `struct key` and uses it to optionally specify the command to run on SEL_{RUN,RUNARG}. The `run` string is used as a fallback when the environment variable has not been specified or is not set. It also updates `config.def.h` to demonstrate this new capability.
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions