summaryrefslogtreecommitdiff
path: root/etc/completions
diff options
context:
space:
mode:
Diffstat (limited to 'etc/completions')
-rw-r--r--etc/completions/_gtd-move15
1 files changed, 15 insertions, 0 deletions
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