From 3e55079707643f2d42ce442bd3c5e2fda475ef9e Mon Sep 17 00:00:00 2001 From: eug-vs Date: Mon, 15 Aug 2022 10:20:28 +0300 Subject: feat(task): dynamically create list of contexts --- task/.local/bin/task-context.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/task/.local/bin/task-context.sh b/task/.local/bin/task-context.sh index 4892557..e9ae7b2 100755 --- a/task/.local/bin/task-context.sh +++ b/task/.local/bin/task-context.sh @@ -1,4 +1,3 @@ #!/bin/sh -# TODO: list contexts using taskwarrior -echo "none default dev codex reading writing" | sed 's/ /\n/g' | dmenu | xargs task context +task context | grep '^[a-z]*' --only-matching | dmenu | xargs task context -- cgit v1.2.3