summaryrefslogtreecommitdiff
path: root/etc/completion
blob: 2d5a802a393bdd2328a809db855191e3f662778d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
## vim:ft=zsh

zstyle :compinstall filename "$HOME/.zshrc"

ls-colors: zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}

# Mark the current selection when tabbing through possible completions
zstyle ':completion:*' menu select=1

# Complete uppercase names with lowercase and spaces with _
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z} m:_=\\\ ' ''

# Be verbose
zstyle ':completion:*' verbose true
zstyle ':completion:*:descriptions' format " › %d"
zstyle ':completion:*:messages' format " › %d"
zstyle ':completion:*:corrections' format " › %d"

_hosts() { compadd derf.homelinux.org kraftwerk saviour kappa nemesis aneurysm;}

compinit -C -d var/cache/zsh/compdump