summaryrefslogtreecommitdiff
path: root/etc/completions/_gtd-move
blob: 7b25732f3b6e7932cb07d5ea0581ce23ee2e5f3f (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}