From ac9a8c69ac7cebe07dcf6e5fecf28d7ab66f2921 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Thu, 8 Dec 2022 10:47:06 +0100 Subject: [PATCH] task: Add taskopen alias Added alias within taskwarrior to invoke taskopen through (unsurprisingly) `task open`. Importantly, the difference to other taskwarrior commands is that the number of the task to open should come AFTER the command, not before as a filter as for all the others. Perhaps that can be changed in the future. --- taskwarrior/.config/task/taskopenrc | 1 + taskwarrior/.config/task/taskrc | 1 + 2 files changed, 2 insertions(+) diff --git a/taskwarrior/.config/task/taskopenrc b/taskwarrior/.config/task/taskopenrc index d711088..04163ee 100644 --- a/taskwarrior/.config/task/taskopenrc +++ b/taskwarrior/.config/task/taskopenrc @@ -1,4 +1,5 @@ [General] +EDITOR = nvim taskbin = task path_ext = /usr/share/taskopen/scripts diff --git a/taskwarrior/.config/task/taskrc b/taskwarrior/.config/task/taskrc index 2b2f55d..65fb40e 100644 --- a/taskwarrior/.config/task/taskrc +++ b/taskwarrior/.config/task/taskrc @@ -23,6 +23,7 @@ weekstart=monday # Make daily burndown default alias alias.burndown=burndown.daily +alias.open=exec taskopen "--config=${XDG_CONFIG_HOME:-$HOME/.config}/task/taskopenrc" # Sort the columns a little differently active.indicator=>