Created
January 9, 2022 14:54
-
-
Save chardskarth/0a49d4da8314ae9e8f972d257e25a4f0 to your computer and use it in GitHub Desktop.
Revisions
-
chardskarth revised this gist
Jan 9, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ tprojectstasks() { # get the first task for each project local tasks local taskfilter=$1 -
chardskarth created this gist
Jan 9, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ tprojectstasks() { local tasks local taskfilter=$1 if [ -z "$taskfilter" ] then tasks=$(task rc.list.all.projects=1 _projects) else tasks=$(task rc.list.all.projects=1 $taskfilter _projects) fi taskuuids=$(while IFS= read -r line; do task project:"$line" _id | head -n1 done <<< "$tasks") task "$taskuuids" projectinweek }