From a62da8e4f3a57f9737b8b12564d3ed37ec179d69 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sun, 19 Jul 2015 22:54:55 +0200 Subject: [PATCH] 50_completion: Update compsys options --- core/50_completion/50_completion.zshrc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/core/50_completion/50_completion.zshrc b/core/50_completion/50_completion.zshrc index fa77f58..bcdf04f 100644 --- a/core/50_completion/50_completion.zshrc +++ b/core/50_completion/50_completion.zshrc @@ -1,17 +1,21 @@ # AX-ZSH: Alex' Modular ZSH Configuration # 50_completion.zshrc: Setup completion -autoload -U compinit +autoload -Uz compinit setopt completealiases +zstyle ':completion:*' completer _complete _ignored _correct _approximate + +zstyle ':completion:*' accept-exact '*(N)' zstyle ':completion:*' list-colors '' zstyle ':completion:*' menu select zstyle ':completion:*' special-dirs true +zstyle ':completion:*' squeeze-slashes true # Use caching so that commands like apt and dpkg completions are useable -zstyle ':completion::complete:*' use-cache 1 -zstyle ':completion::complete:*' cache-path "$ZSH_CACHE_DIR" +zstyle ':completion:*' use-cache on +zstyle ':completion:*' cache-path "$ZSH_CACHE_DIR" # Don't complete uninteresting users zstyle ':completion:*:*:*:users' ignored-patterns \ -- 2.39.2