summaryrefslogtreecommitdiff
path: root/etc/completion
blob: 6ccf8fa85b30c392426e7ea9144671c98b13669f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
## vim:ft=zsh

# Add own completions
fpath=($ZDIR/completions $fpath)

zstyle :compinstall filename "$HOME/.zshrc"
ls-colors: zstyle ':completion:*' list-colors $(dircolors $HOME/packages/zsh/etc/dircolors | head -n 1 | sed -r 's/LS_COLORS=|;$//g')
# Mark the current selection when tabbing through possible completions
zstyle ':completion:*' menu select=1
# Also complete uppercase names with lowercase
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' ''

_hosts() { compadd alpha beta gamma kraftwerk delta epsilon zeta eta saviour theta iota kappa nemesis lambda;}