]> arthur.barton.de Git - ax-zsh.git/commitdiff
50_completion: Update compsys options
authorAlexander Barton <alex@barton.de>
Sun, 19 Jul 2015 20:54:55 +0000 (22:54 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 19 Jul 2015 20:54:55 +0000 (22:54 +0200)
core/50_completion/50_completion.zshrc

index fa77f583d15825ac60c41c9f73ee370ea6f23c63..bcdf04fc19676f32b81eb915693b21bebb1921f2 100644 (file)
@@ -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 \