From: Simon Ruderich Date: Fri, 6 Feb 2009 16:22:34 +0000 (+0100) Subject: Use completion dumpfile in ~/.zsh/cache. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=c43fcb07b3521655b4b44dea93c9acff64baeb8c;p=config%2Fdotfiles.git Use completion dumpfile in ~/.zsh/cache. This reduces cluttering of ~/ with Zsh files. --- diff --git a/zsh/rc b/zsh/rc index e133f6d..a13c020 100644 --- a/zsh/rc +++ b/zsh/rc @@ -165,8 +165,9 @@ fi # Load the complist module which provides additions to completion lists # (coloring, scrollable). zmodload zsh/complist -# Use new completion system. -autoload -U compinit && compinit +# Use new completion system, store dumpfile in ~/.zsh/cache to prevent +# cluttering of ~/. +autoload -U compinit && compinit -d ~/.zsh/cache/zcompdump # Make sure the list of possible completions is displayed after pressing # the first time. setopt nolistambiguous