Blame view

plugins/taskwarrior/taskwarrior.plugin.zsh 834 Bytes
093a6c34b   mj   Squashed 'repos/r...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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