dotfiles/.local/bin/scripts/twsm

5 lines
162 B
Bash
Executable File

#!/bin/sh
# Timewarrior summary of the last n weeks
timew summary $(date --date="Monday $1 week ago" -I) to tomorrow :ids ${@:2} |
less --quit-if-one-screen +G