summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/completion4
-rw-r--r--etc/completions/_devtodo2
2 files changed, 5 insertions, 1 deletions
diff --git a/etc/completion b/etc/completion
index 6f47a36..5eaae9b 100644
--- a/etc/completion
+++ b/etc/completion
@@ -25,6 +25,10 @@ zstyle ':completion:*:warnings' format \
zstyle ':completion:*' group-name ''
+# program-specific settings
+zstyle ':completion:*:*:kill:*' menu yes
+zstyle ':completion:*:*:(todo|td*):*:items' menu yes
+
_hosts() { compadd derf.homelinux.org kraftwerk saviour kappa nemesis aneurysm;}
compinit -C -d var/cache/zsh/compdump
diff --git a/etc/completions/_devtodo b/etc/completions/_devtodo
index 0d33664..7e76051 100644
--- a/etc/completions/_devtodo
+++ b/etc/completions/_devtodo
@@ -81,7 +81,7 @@ function _index () {
for i in $(todo $tdoptions --format display='%n '); do
index+=${i}:$(todo $tdoptions --format display='%t' $i)
done
- _describe index index
+ _describe -t items index index
}
function _color () {