summaryrefslogtreecommitdiff
path: root/etc/functions/gtd-all
blob: e768ad7f4d672d1a2d70c28fc46310781684eca1 (plain)
1
2
3
4
5
6
7
8
9
10
## vim:ft=zsh
## concatenate all GTD databases
## usage: gtd-all [devtodo options]
typeset prefix=~/var/gtd
typeset database

for database in ${prefix}/*(.N); {
	echo "\n${database:t}"
	todo --database ${database} ${*}
}