1e86678f9d3c8c979ff8d3c8b5aac19e9e611441

Author
Pete Clark <pete.clark@gmail.com>
Committer
Pete Clark <pete.clark@gmail.com>
Date

Message

Adds oh-my-zsh plugin to load TaskWarrior completions

Diff

 1diff --git a/plugins/taskwarrior/taskwarrior.plugin.zsh b/plugins/taskwarrior/taskwarrior.plugin.zsh
 2new file mode 100644
 3index 0000000000000000000000000000000000000000..c1830042eff664d503d7b8d9fbcd1bc6605ee29f
 4--- /dev/null
 5+++ b/plugins/taskwarrior/taskwarrior.plugin.zsh
 6@@ -0,0 +1,21 @@
 7+################################################################################
 8+# Author: Pete Clark
 9+# Email: pete[dot]clark[at]gmail[dot]com
10+# Version: 0.1 (05/24/2011)
11+# License: WTFPL<http://sam.zoy.org/wtfpl/>
12+#
13+# This oh-my-zsh plugin adds smart tab completion for
14+# TaskWarrior<http://taskwarrior.org/>. It uses the zsh tab completion
15+# script (_task) distributed with TaskWarrior for the completion definitions.
16+#
17+# Typing task[tabtab] will give you a list of current tasks, task 66[tabtab]
18+# gives a list of available modifications for that task, etc.
19+################################################################################
20+
21+zstyle ':completion:*:*:task:*' verbose yes
22+zstyle ':completion:*:*:task:*:descriptions' format '%U%B%d%b%u'
23+
24+zstyle ':completion:*:*:task:*' group-name ''
25+
26+alias t=task
27+compdef _task t=task