X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/b8e0932338a496dbf3de9b4a9123f5a4a3ff3900..89106f193dc2629ba368748212fadf0613e5f922:/.zsh/zshrc/20_compsys?ds=inline diff --git a/.zsh/zshrc/20_compsys b/.zsh/zshrc/20_compsys index 3ccf1d4..8c389c7 100644 --- a/.zsh/zshrc/20_compsys +++ b/.zsh/zshrc/20_compsys @@ -40,12 +40,15 @@ zstyle ':completion:*' cache-path $ZVARDIR/compcache #zstyle ':completion:*' completer _list _expand _complete _ignored _match _correct _approximate _prefix zstyle ':completion:*' completer _complete _ignored _match _approximate +# allow cursor-key navigation through completion set +zstyle ':completion:*:*:*:*' menu select + # use colours in completion lists and menus zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} -# ignore working and backup copies +# ignore working and backup copies, and compiled objects zstyle ':completion:*:(all-|)files' ignored-patterns \ - '*.bk' '*.bak' '*.old' '*~' '.*.sw?' + '*.bk' '*.bak' '*.old' '*~' '.*.sw?' '*.o' '*.pyc' zstyle -e ':completion:*:approximate:*' max-errors 'reply=($((($#PREFIX+$#SUFFIX)/3)) numeric )' @@ -91,6 +94,4 @@ zstyle ':completion:*:messages' format '%d' zstyle ':completion:*:warnings' format 'no matches for: %d' zstyle ':completion:*' group-name '' -fignore=(~ .o .pyc) - # vim:ft=zsh