summaryrefslogtreecommitdiff
path: root/plugins/taskwarrior/taskwarrior.plugin.zsh
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2011-07-23 08:41:44 -0700
committerRobby Russell <robby@planetargon.com>2011-07-23 08:41:44 -0700
commit8a102b941f80050a82b26b1e8ac79ffa4cc3a855 (patch)
treee5ba8557676b72f5284e865bf4e1de5c85e7996b /plugins/taskwarrior/taskwarrior.plugin.zsh
parent3a56297ce8f597631202b6f532cbfb8daa5c537b (diff)
parent2a64d08889c8df8fe74228d05adfe82d0eb899ed (diff)
downloadzsh-8a102b941f80050a82b26b1e8ac79ffa4cc3a855.tar.gz
zsh-8a102b941f80050a82b26b1e8ac79ffa4cc3a855.tar.bz2
zsh-8a102b941f80050a82b26b1e8ac79ffa4cc3a855.zip
Merge branch 'master' of github.com:robbyrussell/oh-my-zsh
Diffstat (limited to 'plugins/taskwarrior/taskwarrior.plugin.zsh')
-rw-r--r--plugins/taskwarrior/taskwarrior.plugin.zsh21
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/taskwarrior/taskwarrior.plugin.zsh b/plugins/taskwarrior/taskwarrior.plugin.zsh
new file mode 100644
index 000000000..c1830042e
--- /dev/null
+++ b/plugins/taskwarrior/taskwarrior.plugin.zsh
@@ -0,0 +1,21 @@
+################################################################################
+# Author: Pete Clark
+# Email: pete[dot]clark[at]gmail[dot]com
+# Version: 0.1 (05/24/2011)
+# License: WTFPL<http://sam.zoy.org/wtfpl/>
+#
+# This oh-my-zsh plugin adds smart tab completion for
+# TaskWarrior<http://taskwarrior.org/>. It uses the zsh tab completion
+# script (_task) distributed with TaskWarrior for the completion definitions.
+#
+# Typing task[tabtab] will give you a list of current tasks, task 66[tabtab]
+# gives a list of available modifications for that task, etc.
+################################################################################
+
+zstyle ':completion:*:*:task:*' verbose yes
+zstyle ':completion:*:*:task:*:descriptions' format '%U%B%d%b%u'
+
+zstyle ':completion:*:*:task:*' group-name ''
+
+alias t=task
+compdef _task t=task