1
0
mirror of https://github.com/akelge/zsh synced 2025-07-03 21:19:06 +00:00

New version of zsh startup files:

- Supports Darwin AND Linux
- No more .zshrc.local
- New completion (BETA)
This commit is contained in:
2010-11-18 08:49:41 +00:00
parent e031a7efc9
commit 5b09568680
16 changed files with 223 additions and 165 deletions

19
zsh.d/20-complete Normal file
View File

@ -0,0 +1,19 @@
#######################################################################################
# Start autocomplete
autoload -U compinit; compinit
# autoload -U compsys;
# compctl -g "*(-/)" + -g ".*(-/)" cd
# allow approximate
zstyle ':completion:*' completer _complete _match _approximate
zstyle ':completion:*:match:*' original only
zstyle ':completion:*:approximate:*' max-errors 1 numeric
# tab completion for PID :D
zstyle ':completion:*:*:kill:*' menu yes select
zstyle ':completion:*:kill:*' force-list always
# cd not select parent dir
zstyle ':completion:*:cd:*' ignore-parents parent pwd
# vim: set ts=4 sw=4 tw=0 ft=zsh :