1 unsetopt menu_complete
# do not autoselect the first completion entry
3 setopt no_auto_menu
# don't show completion menu on succesive tab press
4 setopt complete_in_word
9 zmodload
-i zsh
/complist
12 # case-(in)sensitive (all),partial-word and then substring completion
13 if [ "x$CASE_SENSITIVE" = "xtrue" ]; then
14 zstyle
':completion:*' matcher
-list 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
17 zstyle
':completion:*' matcher
-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
20 zstyle
':completion:*' list
-colors ''
22 zstyle
':completion:*:*:*:*:*' menu
select
23 zstyle
':completion:*:*:kill:*:processes' list
-colors '=(#b) #([0-9]#) ([0-9a-z-]#)*=01;34=0=01'
24 zstyle
':completion:*:*:*:*:processes' command "ps -u `whoami` -o pid,user,comm -w -w"
26 # disable named-directories autocompletion
27 zstyle
':completion:*:cd:*' tag
-order local-directories directory
-stack path
-directories
30 # Use caching so that commands like apt and dpkg complete are useable
31 zstyle
':completion::complete:*' use
-cache 1
32 zstyle
':completion::complete:*' cache
-path $ZSH_CACHE/complete
34 # Don't complete uninteresting users
35 zstyle
':completion:*:*:*:users' ignored
-patterns \
36 adm amanda apache avahi beaglidx bin cacti canna clamav daemon \
37 dbus distcache dovecot fax
ftp games gdm gkrellmd gopher \
38 hacluster haldaemon halt hsqldb ident junkbust ldap
lp mail \
39 mailman mailnull mldonkey mysql nagios \
40 named netdump news nfsnobody nobody nscd ntp nut nx openvpn \
41 operator pcap postfix postgres privoxy pulse pvm quagga radvd \
42 rpc rpcuser rpm shutdown squid sshd sync
uucp vcsa xfs
44 # ... unless we really want to.
45 zstyle
'*' single
-ignored show