Add git task command for per-repository tasks

An alias that runs Taskwarrior with its data directory set to the
current git directory.
This commit is contained in:
Talia 2021-02-16 10:28:13 +01:00
parent 4c74a58aac
commit 719cc5b97a

View file

@ -24,6 +24,7 @@
root = rev-parse --show-toplevel root = rev-parse --show-toplevel
fixup = commit --patch --no-edit --amend fixup = commit --patch --no-edit --amend
ts = timeshift ts = timeshift
task = "! TASKDATA=$(git rev-parse --show-toplevel)/.git/task task"
[user] [user]
useConfigOnly = true useConfigOnly = true
[user "darkwiiplayer"] [user "darkwiiplayer"]