]> arthur.barton.de Git - ax-zsh.git/blob - core/90_completion_init/90_completion_init.zshrc
Enhance debug output
[ax-zsh.git] / core / 90_completion_init / 90_completion_init.zshrc
1 # AX-ZSH: Alex' Modular ZSH Configuration
2 # completion.zshrc: Setup completion
3
4 # Make sure that "compinit" is available
5 type compinit >/dev/null || return
6
7 # Save the location of the current completion dump file.
8 if [[ -z "$ZSH_COMPDUMP" ]]; then
9         ZSH_COMPDUMP="${ZDOTDIR:-$HOME}/.zcompdump-${SHORT_HOST}-${ZSH_VERSION}"
10 fi
11
12 # Initialize ZSH completion system
13 compinit -d "$ZSH_COMPDUMP"