From b120bebbbe8e72904513f9b8caea39141809d42c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 30 Oct 2008 17:29:50 +0100 Subject: Added gtd-move function --- etc/completions/_gtd-move | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 etc/completions/_gtd-move (limited to 'etc/completions/_gtd-move') diff --git a/etc/completions/_gtd-move b/etc/completions/_gtd-move new file mode 100644 index 0000000..e9e7bc5 --- /dev/null +++ b/etc/completions/_gtd-move @@ -0,0 +1,15 @@ +#compdef 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 -- cgit v1.2.3