diff options
author | makefu <github@syntax-fehler.de> | 2018-09-10 17:32:31 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2018-09-10 17:32:31 +0200 |
commit | 859f98583788a9324be0e8c52d36a6bb812273fe (patch) | |
tree | 81e1ce4bd2a4185221761165023434f8737fff06 /krebs/5pkgs/simple/Reaktor/plugins.nix | |
parent | b2a3bd38ea70307c8b136eba42de7cc882afd441 (diff) | |
parent | f6e69c6ecb25fc96655ec1749747d9ccb7880365 (diff) |
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'krebs/5pkgs/simple/Reaktor/plugins.nix')
-rw-r--r-- | krebs/5pkgs/simple/Reaktor/plugins.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/krebs/5pkgs/simple/Reaktor/plugins.nix b/krebs/5pkgs/simple/Reaktor/plugins.nix index c6e601475..700f9b40d 100644 --- a/krebs/5pkgs/simple/Reaktor/plugins.nix +++ b/krebs/5pkgs/simple/Reaktor/plugins.nix @@ -160,7 +160,7 @@ rec { task-list = buildSimpleReaktorPlugin "task-list" { pattern = "^task-list"; script = pkgs.writeDash "task-list" '' - ${pkgs.taskwarrior}/bin/task rc:${taskrcFile} list + ${pkgs.taskwarrior}/bin/task rc:${taskrcFile} minimal ''; }; @@ -171,6 +171,13 @@ rec { ''; }; + task-done = buildSimpleReaktorPlugin "task-done" { + pattern = "^task-done: (?P<args>.*)$$"; + script = pkgs.writeDash "task-done" '' + ${pkgs.taskwarrior}/bin/task rc:${taskrcFile} done "$*" + ''; + }; + todo = name: { add = buildSimpleReaktorPlugin "${name}-add" { pattern = "^${name}-add: (?P<args>.*)$$"; |