summaryrefslogtreecommitdiff
path: root/etc/completions/_gtd-move
blob: e8cc8043313736384d0aa344bbde2eb65c13cc6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#compdef gtd-move
## completion for the gtd-move function, see ../functions/gtd-move

typeset -a arguments

arguments=(
	':from database:_gtd_database'
	':item: '
	':to database:_gtd_database'
)

function _gtd_database {
	_path_files -W ~/var/gtd -g '*(.)'
}

_arguments -s $arguments