From 6cfad6e90fc002e05b6f5c0d47903174e048799e Mon Sep 17 00:00:00 2001 From: Robert Ricci Date: Wed, 15 Jan 2014 14:39:48 -0700 Subject: [PATCH] Add a simple completion script for zsh Just a prototype, might scrap it and do something else --- scripts/autocomplete.zsh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 scripts/autocomplete.zsh diff --git a/scripts/autocomplete.zsh b/scripts/autocomplete.zsh new file mode 100644 index 0000000..890ec70 --- /dev/null +++ b/scripts/autocomplete.zsh @@ -0,0 +1,9 @@ +function _completestudents { + reply=($(list-students)) +} + +function _completehw { + reply=($(list-hw)) +} + +compctl -K _completehw show-submissions -- GitLab