diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-13 16:36:03 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-13 16:36:03 +0200 |
| commit | 083a44dff5244a1d28d064b009f550a53204265d (patch) | |
| tree | c8f958032b8b97d24228157f6dc94aa7a62de152 /fish | |
| parent | 730706910852b83ebf72345622e72b97bd5715e3 (diff) | |
Update
Diffstat (limited to 'fish')
| -rw-r--r-- | fish/conf.d/taskwarrior.fish | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fish/conf.d/taskwarrior.fish b/fish/conf.d/taskwarrior.fish index 7bd85b0..d681ebc 100644 --- a/fish/conf.d/taskwarrior.fish +++ b/fish/conf.d/taskwarrior.fish @@ -96,7 +96,7 @@ end function taskwarrior::export::wins set -l winsfile ~/Notes/random/Wins.md if test -f $winsfile - # Export all wins project tags + # Export all wins tags for tag in win wins task +$tag -random status:pending export | jq -r '.[].description' | sed 's/^/* /' >>$winsfile.tmp.1 # Guard against "No tasks specified." when there is nothing to delete @@ -106,7 +106,7 @@ function taskwarrior::export::wins echo "# wins (7)" >$winsfile.tmp.2 echo '' >>$winsfile.tmp.2 - echo 'Thinks I wins will do something about or wins not' >>$winsfile.tmp.2 + echo 'Wins I had' >>$winsfile.tmp.2 echo '' >>$winsfile.tmp.2 sort -u $winsfile.tmp.1 >>$winsfile.tmp.2 && mv $winsfile.tmp.2 $winsfile && rm $winsfile.tmp.1 end |
