diff options
author | eug-vs <eugene@eug-vs.xyz> | 2022-08-15 10:20:28 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2022-08-15 10:22:13 +0300 |
commit | 3e55079707643f2d42ce442bd3c5e2fda475ef9e (patch) | |
tree | 74d8e820142e873e95c01d336c016f03e65e3f46 | |
parent | 85b105b530cfe165df08b55d5752b091c4e88a6b (diff) | |
download | dotfiles-3e55079707643f2d42ce442bd3c5e2fda475ef9e.tar.gz |
feat(task): dynamically create list of contexts
-rwxr-xr-x | task/.local/bin/task-context.sh | 3 |
1 files changed, 1 insertions, 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 |