taskwarrior.plugin.zsh 835 B

123456789101112131415161718192021
  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. zstyle ':completion:*:*:task:*' verbose yes
  15. zstyle ':completion:*:*:task:*:descriptions' format '%U%B%d%b%u'
  16. zstyle ':completion:*:*:task:*' group-name ''
  17. alias t=task
  18. compdef _task t=task