Re: [dev] [noice] [PATCH] Support commands specified by environment variables

From: Dimitris Papastamos <sin_AT_2f30.org>
Date: Thu, 26 Nov 2015 13:37:42 +0000

On Thu, Nov 26, 2015 at 01:59:32PM +0100, Martin Kühl wrote:
> Not sure where else to post this, so...
>
> 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.

Applied, cheers!
Received on Thu Nov 26 2015 - 14:37:42 CET

This archive was generated by hypermail 2.3.0 : Thu Nov 26 2015 - 14:48:05 CET