X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/ba37fa63e8cdedbe958ab51a6aaddcfa4ed2f65d..dbb5ec76ee755f6281551355fa8d4360147eebee:/zsh/lib/completion.zsh diff --git a/zsh/lib/completion.zsh b/zsh/lib/completion.zsh index 13d98cd..2acc0b0 100644 --- a/zsh/lib/completion.zsh +++ b/zsh/lib/completion.zsh @@ -41,9 +41,8 @@ hosts=( zstyle ':completion:*:hosts' hosts $hosts # Use caching so that commands like apt and dpkg complete are useable -[[ -d "$XDG_CACHE_HOME/zsh" ]] || mkdir -p "$XDG_CACHE_HOME/zsh" zstyle ':completion::complete:*' use-cache 1 -zstyle ':completion::complete:*' cache-path $XDG_CACHE_HOME/zsh +zstyle ':completion::complete:*' cache-path $ZSH_CACHE/complete # Don't complete uninteresting users zstyle ':completion:*:*:*:users' ignored-patterns \