summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-04-07 19:23:29 +0200
committerlassulus <lassulus@lassul.us>2019-04-07 19:36:05 +0200
commit2c0e039dbdb39fffb63f6e6ccbff247902fa7e8d (patch)
treeb38c72e79bf32fae1c0da3dcdcd0711e0a4d3244
parent036f0e90525f81c02119680cdcf9b114b1b8bde8 (diff)
l reaktor-coders: match scripts at the beginning of line
-rw-r--r--lass/2configs/reaktor-coders.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lass/2configs/reaktor-coders.nix b/lass/2configs/reaktor-coders.nix
index 4baec1976..7fd6a2a29 100644
--- a/lass/2configs/reaktor-coders.nix
+++ b/lass/2configs/reaktor-coders.nix
@@ -29,7 +29,7 @@ in {
hooks.url-title
{
activate = "match";
- pattern = ''@([^ ]+) (.*)$'';
+ pattern = ''^@([^ ]+) (.*)$'';
command = 1;
arguments = [2];
env.HOME = config.krebs.reaktor2.coders.stateDir;
@@ -66,7 +66,7 @@ in {
}
{
activate = "match";
- pattern = ''!([^ ]+)(?:\s*(.*))?'';
+ pattern = ''^!([^ ]+)(?:\s*(.*))?'';
command = 1;
arguments = [2];
commands = {