forked from ohmyzsh/ohmyzsh
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds oh-my-zsh plugin to load TaskWarrior completions
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |