I'm having some trouble with the zstyle matcher.
I'm trying to make it auto complete things that match my home directory when my pwd isn't ~.
I'm also having some problems getting it to autocomplete module names when I'm a standard user, it works when I'm root though (we use the same zshrc.)
Finally, it won't expand globs when dealing with certain types of matches (notably package names). Generally when I type in *blah* it'll just put everything that matches on my command line, but when I'm dealing with packages it simply displays the list.
My .zshrc:
# Lines configured by zsh-newuser-install
fg_cyan=$'%{\e[0;36m%}'
fg_light_gray=$'%{\e[0;37m%}'
fg_red=$'%{\e[1;31m%}'
fg_purple=$'%{\e[1;35m%}'
PROMPT="${fg_red}%(?..(%?%))${fg_purple}%n${fg_red}@${fg_purple}%m${fg_red}%#${fg_light_gray} "
RPROMPT="${fg_cyan}%~${fg_light_gray}"
alias ls='ls --color=tty'
XTITLE="%n@%m:%~"
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt beep extendedglob nomatch notify
unsetopt appendhistory
bindkey -v
autoload -Uz compinit
compinit
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
zstyle :compinstall filename '/home/omnipotententity/.zshrc'
zstyle ':completion:*' completer \
_complete _prefix _approximate:-one _ignored \
_complete:-extended _approximate:-four
zstyle ':completion::prefix-1:*' completer _complete
zstyle ':completion:incremental:*' completer _complete _correct
zstyle ':completion:predict:*' completer _complete
zstyle ':completion:*:approximate-one:*' max-errors 1
zstyle ':completion:*:approximate-four:*' max-errors 4
zstyle ':completion::complete:*' use-cache 1
zstyle ':completion::complete:*' cache-path ~/.zsh/cache/$HOST
zstyle ':completion:*' expand 'yes'
zstyle ':completion:*' squeeze-slashes 'yes'
# }}}
# {{{ Don't complete uninteresting users
zstyle ':completion:*:*:*:users' ignored-patterns \
adm apache bin daemon games gdm halt ident junkbust lp mail mailnull \
named news nfsnobody nobody nscd ntp operator pcap postgres radvd \
rpc rpcuser rpm shutdown squid sshd sync uucp vcsa xfs
# ... unless we really want to.
zstyle '*' single-ignored show
# Separate matches into groups
zstyle ':completion:*:matches' group 'yes'
# Describe each match group.
zstyle ':completion:*:descriptions' format "%B---- %d%b"
# Messages/warnings format
zstyle ':completion:*:messages' format '%B%U---- %d%u%b'
zstyle ':completion:*:warnings' format '%B%U---- no match for: %d%u%b'
# Describe options in full
zstyle ':completion:*:options' description 'yes'
zstyle ':completion:*:options' auto-description '%d'
# End of lines added by compinstall
path+=(~/bin)