]> git.rmz.io Git - dotfiles.git/blob - zsh/plugins/taskwarrior/taskwarrior.plugin.zsh
merge oh-my-zsh into subdir
[dotfiles.git] / zsh / plugins / taskwarrior / taskwarrior.plugin.zsh
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