Add better taskwarrior completion

This commit is contained in:
Jeremy Gardais 2018-04-13 22:35:24 +02:00
parent 447675b01a
commit b82f0b7c95
1 changed files with 6 additions and 1 deletions

7
zshrc
View File

@ -290,7 +290,7 @@ alias sctl="systemctl"
alias jctl="journalctl" alias jctl="journalctl"
# Taskwarrior {{{ # Taskwarrior {{{
# ## Aliases
alias wtask="task +work | head" alias wtask="task +work | head"
alias t="task" alias t="task"
alias tawa="task waiting" alias tawa="task waiting"
@ -309,6 +309,11 @@ function tasec() {
task $search all; task $search all;
} }
## Completion
zstyle ':completion:*:*:task:*' verbose yes
zstyle ':completion:*:*:task:*:descriptions' format '%U%B%d%b%u'
zstyle ':completion:*:*:task:*' group-name ''
# }}} # }}}
# DebOps {{{ # DebOps {{{