1 ### BEGIN task auto-completion ###
2 fpath=($fpath /usr/local/share/doc/task/scripts/zsh)
7 # be verbose, i.e. show descriptions
8 zstyle ':completion:*' verbose yes
9 zstyle ':completion:*:descriptions' format '%U%B%d%b%u'
12 zstyle ':completion:*' group-name ''
16 autoload colors && colors
18 # The magic works as follows:
19 # * (#b) activates the use of brackets within regular expressions
20 # * the part to the next = character is a regular expression to be matched
21 # * color codes are separated with = characters
22 # * the first code is the default color
23 # * the other codes define the colors of the 1st, 2nd, etc. pair of brackets
24 # (See http://zshwiki.org/home/examples/compsys/colors for a detailed description.)
26 # You can use zstyle to configure the completion behaviour.
27 # Here is an example of adding colors to the list of suggestions:
29 # zstyle ':completion:*:*:task:*:arguments' list-colors "=(#b) #([^-]#)*=$color[cyan]=$color[bold];$color[blue]"
30 # zstyle ':completion:*:*:task:*:default' list-colors "=(#b) #([^-]#)*=$color[cyan]=$color[green]"
31 # zstyle ':completion:*:*:task:*:values' list-colors "=(#b) #([^-]#)*=$color[cyan]=$color[bold];$color[red]"
32 # zstyle ':completion:*:*:task:*:commands' list-colors "=(#b) #([^-]#)*=$color[cyan]=$color[yellow]"
34 ### END task auto-completion ###