Skip to content
This repository
Browse code

Adds oh-my-zsh plugin to load TaskWarrior completions

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

0 notes on commit 1e86678

Please sign in to comment.
Something went wrong with that request. Please try again.