1
0
Fork 0

Make taskwarrior more robust

This commit is contained in:
Malte Brandy 2020-12-26 04:57:05 +01:00
parent dc998c6e92
commit 7cec4cda69
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

@ -89,12 +89,16 @@
in {
"add-git" = {
target = ".task/hooks/on-add.git";
text = "${pkgs.taskwarrior-git}/bin/taskwarrior-git on-add";
text = ''
export PATH=${pkgs.git}/bin:$PATH
exec ${pkgs.taskwarrior-git}/bin/taskwarrior-git on-add'';
executable = true;
};
"modify-git" = {
target = ".task/hooks/on-modify.git";
text = "${pkgs.taskwarrior-git}/bin/taskwarrior-git on-modify";
text = ''
export PATH=${pkgs.git}/bin:$PATH
exec ${pkgs.taskwarrior-git}/bin/taskwarrior-git on-modify'';
executable = true;
};
"add-notification" = {