1 # AX-ZSH: Alex' Modular ZSH Configuration
2 # 50_completion.zshrc: Setup completion
8 zstyle ':completion:*' list-colors ''
9 zstyle ':completion:*' menu select
10 zstyle ':completion:*' special-dirs true
12 # Use caching so that commands like apt and dpkg completions are useable
13 zstyle ':completion::complete:*' use-cache 1
14 zstyle ':completion::complete:*' cache-path "$ZSH_CACHE_DIR"
16 # Save the location of the current completion dump file.
17 if [[ -z "$ZSH_COMPDUMP" ]]; then
18 ZSH_COMPDUMP="${ZDOTDIR:-$HOME}/.zcompdump-${SHORT_HOST}-${ZSH_VERSION}"
21 # Initialize ZSH completion system
22 compinit -d "$ZSH_COMPDUMP"